[] 修复流量池来源数据同步不更新问题
This commit is contained in:
@@ -52,6 +52,8 @@ class SyncWechatDataToCkbTask extends Command
|
||||
$this->syncWechatDevice($ChuKeBaoAdapter);
|
||||
$this->syncWechatCustomer($ChuKeBaoAdapter);
|
||||
$this->syncWechatFriendToTrafficPoolBatch($ChuKeBaoAdapter);
|
||||
$this->syncTrafficSourceUser($ChuKeBaoAdapter);
|
||||
$this->syncTrafficSourceGroup($ChuKeBaoAdapter);
|
||||
|
||||
$output->writeln("同步任务 sync_wechat_to_ckb 已结束");
|
||||
return true;
|
||||
@@ -96,4 +98,15 @@ class SyncWechatDataToCkbTask extends Command
|
||||
{
|
||||
return $ChuKeBaoAdapter->syncWechatFriendToTrafficPoolBatch();
|
||||
}
|
||||
protected function syncTrafficSourceUser(ChuKeBaoAdapter $ChuKeBaoAdapter)
|
||||
{
|
||||
return $ChuKeBaoAdapter->syncTrafficSourceUser();
|
||||
}
|
||||
|
||||
protected function syncTrafficSourceGroup(ChuKeBaoAdapter $ChuKeBaoAdapter)
|
||||
{
|
||||
return $ChuKeBaoAdapter->syncTrafficSourceGroup();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user