blindbox_722_2
This commit is contained in:
@@ -111,7 +111,7 @@ class Persona extends CI_Controller
|
||||
}
|
||||
}
|
||||
}
|
||||
$avatar = $mobile = $name = $unionid = '';
|
||||
$avatar = $mobile = $name = $unionid = $status = '';
|
||||
$gender = $biz_id = 0;
|
||||
if ($remark_mobiles && $remark_mobiles != '[]' && is_array($remark_mobiles)) {
|
||||
$mobile = $remark_mobiles[0];//取第一个手机号
|
||||
@@ -136,6 +136,7 @@ class Persona extends CI_Controller
|
||||
if ($biz_id && $mobile) {//查找已存在客户
|
||||
$re_cus = $this->mdCustomers->get(['biz_id' => $biz_id, 'mobile' => $mobile, 'status<>' => -1]);
|
||||
if ($re_cus) {
|
||||
$status = $re_cus['status'];
|
||||
$c_id = $re_cus['id'];
|
||||
$of_id = $re_cus['of_id'];
|
||||
$of2_id = $re_cus['of2_id'];
|
||||
@@ -179,9 +180,9 @@ class Persona extends CI_Controller
|
||||
}
|
||||
//线索来源
|
||||
$offline_sources = $this->mdCustomers->offlineSources();
|
||||
// if (strlen($status) && $status == 0) {//未见客户
|
||||
// unset($offline_sources[1]);
|
||||
// }
|
||||
if (strlen($status) && $status == 0) {//未见客户不显示自然进店
|
||||
unset($offline_sources[1]);
|
||||
}
|
||||
$ii = 0;
|
||||
$description_arr = $description ? explode('-', $description) : [];
|
||||
foreach ($offline_sources as $key => $val) {
|
||||
|
||||
Reference in New Issue
Block a user