diff --git a/api/controllers/wxapp/licheb/Customers.php b/api/controllers/wxapp/licheb/Customers.php index 40fde1b8..42986b16 100644 --- a/api/controllers/wxapp/licheb/Customers.php +++ b/api/controllers/wxapp/licheb/Customers.php @@ -280,7 +280,7 @@ class Customers extends Wxapp $mobile = $this->input_param('mobile'); $buy_time = $this->input_param('buy_time'); //预计购车时间 $c_brand = $this->input_param('c_brand'); //线下来源一级 - $of_id = 1; //线下来源一级 + $of_id = 3; //线下来源一级 $of2_id = $this->input_param('of2_id'); //线下来源一级 $status = 0; //状态 $tag = $this->input_param('tag'); //客户标签 @@ -1111,7 +1111,7 @@ class Customers extends Wxapp $where['b.status<>'] = 2; } } - $group_id == 1 && $where['a.admin_id'] = $this->myuid; +// $group_id == 1 && $where['a.admin_id'] = $this->myuid; $count = $this->mdCustomerVisitData->count_visit($where); } else {//数据看板 数据列表 if ($tab_id == 2) {//今日 @@ -1124,7 +1124,7 @@ class Customers extends Wxapp if ($visit == 3) {//今日/本月线索 $where = ['biz_id' => $this->biz_id, 'cs_biz_id<>' => -1, 'status>=' => 0, 'c_time>=' => strtotime($s_c_time) , 'c_time<=' => strtotime($e_c_time)]; - $group_id == 1 && $where['admin_id'] = $this->myuid; +// $group_id == 1 && $where['admin_id'] = $this->myuid; $count = $this->customers_model->count($where); } else if ($visit == 4) {//今日/本月企v $where = ['change_type' => 'add_external_contact', 'c_time>=' => strtotime($s_c_time), 'c_time<=' => strtotime($e_c_time)]; @@ -1167,7 +1167,7 @@ class Customers extends Wxapp } } if ($count) { - $fileds = 'id,name,admin_id,mobile,level,car_json,is_top,cf_title,brand_id,s_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,if_defeat ,of_id,of2_id,wxqy,status,biz_id,cs_biz_id,county_id'; 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 diff --git a/exclude.list b/exclude.list index e8a1fed2..02cd294d 100644 --- a/exclude.list +++ b/exclude.list @@ -22,8 +22,6 @@ /market/cache /market/logs -/common/vendor - /sh /sql .svn