customers add wxgr about

This commit is contained in:
qianhy
2023-02-24 15:40:55 +08:00
committed by lccsw
parent 9abf446df0
commit bd2f3a76a3
6 changed files with 53 additions and 7 deletions
@@ -27,7 +27,7 @@ class Receiver_customer_oplogs_model extends HD_Model
public function typeAry($id = '')
{
$arr = [0 => '小记', 1 => '发短信', 2 => '拨打号码', 3 => '创建', 4 => '到店', 5 => '试驾', 6 => '订单', 7 => '战败'
, 8 => '企微跟进', 9 => '系统'];
, 8 => '企微跟进', 9 => '系统', 10 => '加个微'];
if (strlen($id)) {
return $arr[$id];
} else {
@@ -123,6 +123,21 @@ class Receiver_customers_model extends HD_Model
}
}
/**
* Notes:个微好友状态
* @param string $id
* @return array|mixed
*/
public function wxgrAry($id = '')
{
$arr = [0 => '未加', 1 => '已添加'];
if (strlen($id)) {
return $arr[$id];
} else {
return $arr;
}
}
/**
* Notes:好友类型
* Created on: 2022/5/26 10:00