licheb_428_2
This commit is contained in:
@@ -612,8 +612,10 @@ class Customers extends Wxapp
|
||||
$defeat = '再战';
|
||||
}
|
||||
//查找订单未支付
|
||||
$orders_count = $this->mdOrders->count(['status' => 0, 'customer_id' => $val['id']]);
|
||||
$orders_count && $orders_pay = '订单未支付';
|
||||
if ($status == 0 || $status == 1) {
|
||||
$orders_count = $this->mdOrders->count(['order_time' => '0000-00-00 00:00:00', 'customer_id' => $val['id']]);
|
||||
$orders_count && $orders_pay = '订单未支付';
|
||||
}
|
||||
$lists[] = [
|
||||
'id' => $val['id'],
|
||||
'name' => $val['name'],
|
||||
|
||||
Reference in New Issue
Block a user