流量池添加及场景获客统计数据
This commit is contained in:
@@ -240,8 +240,9 @@ class Adapter implements WeChatServiceInterface
|
||||
->where('id', $task['id'])
|
||||
->update([
|
||||
'status' => $friendAddTaskCreated ? 1 : 3,
|
||||
'fail_reason' => $friendAddTaskCreated ? '' : '已经是好友了',
|
||||
'fail_reason' => '',
|
||||
'processed_wechat_ids' => $task['processed_wechat_ids'],
|
||||
'addTime' => time(),
|
||||
'updateTime' => time()
|
||||
]);
|
||||
// ~~不用管,回头再添加再判断即可~~
|
||||
@@ -298,7 +299,7 @@ class Adapter implements WeChatServiceInterface
|
||||
|
||||
Db::name('task_customer')
|
||||
->where('id', $task['id'])
|
||||
->update(['status' => 4, 'updateTime' => time()]);
|
||||
->update(['status' => 4,'passTime' => time(), 'updateTime' => time()]);
|
||||
|
||||
$wechatFriendRecord = $this->getWeChatAccoutIdAndFriendIdByWeChatIdAndFriendPhone($passedWeChatId, $task['phone']);
|
||||
$msgConf = is_string($task_info['msgConf']) ? json_decode($task_info['msgConf'], 1) : $task_info['msgConf'];
|
||||
|
||||
Reference in New Issue
Block a user