diff --git a/api/controllers/wxapp/licheb/Customers.php b/api/controllers/wxapp/licheb/Customers.php index 54cc17aa..7bd71f89 100644 --- a/api/controllers/wxapp/licheb/Customers.php +++ b/api/controllers/wxapp/licheb/Customers.php @@ -463,14 +463,9 @@ class Customers extends Wxapp{ throw new Exception('分派失败', API_CODE_FAIL); } //写日志 - $this->load->model('receiver/receiver_clues_model','clues_model'); $this->load->library('receiver/customers_entity'); $customers = $this->customers_model->get_map_by_ids ($id_arr,'id,rid'); foreach($id_arr as $val){ - $rid = $customers[$val][0]['rid']; //线索id - if($rid){ //更新线索跟进人 - $this->clues_model->update(['admin_id'=>$admin_id,'status'=>2],['id'=>$rid]); - } $log = "分配客户"; $this->customers_entity->add_log($val,$uid,$uname,$log); }