923
This commit is contained in:
@@ -635,9 +635,13 @@ class Clues extends HD_Controller
|
||||
//短信通知店长
|
||||
$this->load->model('app/licheb/app_licheb_users_model');
|
||||
$where = array('biz_id' => $re['biz_id'], 'status' => 1, 'group_id' => 2);
|
||||
$res_u = $this->app_licheb_users_model->get($where);
|
||||
if($re['biz_id'] != 1){
|
||||
b2m_send_sms($res_u['mobile'], '【理车宝】您好,门店新增了1个客户线索。请及时到小程序"理车宝-待分配客户”分配给销售顾问跟进。祝您生活愉快!');
|
||||
$res_u = $this->app_licheb_users_model->select($where);
|
||||
if($res_u){
|
||||
foreach ($res_u as $v){
|
||||
if($re['biz_id'] != 1){
|
||||
b2m_send_sms($v['mobile'], '【理车宝】您好,门店新增了1个客户线索。请及时到小程序"理车宝-待分配客户”分配给销售顾问跟进。祝您生活愉快!');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$msg = '转交成功';
|
||||
|
||||
Reference in New Issue
Block a user