diff --git a/api/controllers/wxapp/licheb/Customers.php b/api/controllers/wxapp/licheb/Customers.php index cffcfc81..4334f0ba 100644 --- a/api/controllers/wxapp/licheb/Customers.php +++ b/api/controllers/wxapp/licheb/Customers.php @@ -368,6 +368,7 @@ class Customers extends Wxapp $e_time = $this->input_param('e_time'); $if_driver = $this->input_param('if_driver'); $level = $this->input_param('level'); + $brand_id = $this->input_param('brand_id'); $s_id = $this->input_param('s_id'); //车系id $v_id = $this->input_param('v_id'); //车型级别id $cfrom = $this->input_param('cfrom'); //客户来源id @@ -427,6 +428,7 @@ class Customers extends Wxapp strlen($istop) && $where['is_top'] = $istop; strlen($if_driver) && $where['if_driver'] = 1; strlen($status) && $where['status'] = $status; + $brand_id && $where['brand_id'] = $brand_id; $level && $where['level'] = $level; $cfrom && $where['cf_title'] = $cfrom; $name && $where["name like '%{$name}%'"] = null;