diff --git a/api/controllers/wxapp/licheb/Customers.php b/api/controllers/wxapp/licheb/Customers.php index 3f8bcf2e..d0a6c336 100644 --- a/api/controllers/wxapp/licheb/Customers.php +++ b/api/controllers/wxapp/licheb/Customers.php @@ -880,7 +880,7 @@ class Customers extends Wxapp $count = $this->customers_model->count($where); $lists = []; if ($count) { - $fileds = 'id,rid,name,admin_id,mobile,level,car_json,is_top,cf_title,brand_id,cont_time,c_time,if_defeat + $fileds = 'id,rid,name,admin_id,mobile,level,car_json,is_top,cf_title,brand_id,cont_time,c_time,p_time,if_defeat ,of_id,of2_id,wxqy,status,biz_id,county_id,cid'; $rows = $this->customers_model->select($where, $orderby, $page, $size, $fileds); $lists = $this->listCustomerField(['rows' => $rows, 'biz_type' => $biz_type, 'group_id' => $group_id]); @@ -1170,7 +1170,7 @@ class Customers extends Wxapp } } if ($count) { - $fileds = 'id,name,admin_id,mobile,level,car_json,is_top,cf_title,brand_id,sales_id,cont_time,c_time,if_defeat + $fileds = 'id,name,admin_id,mobile,level,car_json,is_top,cf_title,brand_id,sales_id,cont_time,c_time,p_time,if_defeat ,of_id,of2_id,wxqy,status,biz_id,cs_biz_id,county_id,cid'; if ($visit == 1) { $fileds = 'a.id,a.name,a.admin_id,a.mobile,a.level,a.is_top,a.cont_time,a.c_time,a.if_defeat,a.cf_title @@ -1194,7 +1194,7 @@ class Customers extends Wxapp } } if ($mobile) {//查找关连客户 - $where = ['mobile' => $mobile, 'cs_biz_id<>' => -1, 'status>=' => 0]; + $where = ['mobile' => $mobile, 'status>=' => 0]; $this->biz_id && $where['biz_id'] = $this->biz_id; $res_cus = $this->customers_model->get($where); if ($res_cus) {