sync customer and device
This commit is contained in:
@@ -49,6 +49,8 @@ class SyncWechatDataToCkbTask extends Command
|
||||
$this->syncWechatAccount($ChuKeBaoAdapter);
|
||||
$this->syncWechatFriend($ChuKeBaoAdapter);
|
||||
$this->syncWechatDeviceLoginLog($ChuKeBaoAdapter);
|
||||
$this->syncWechatDevice($ChuKeBaoAdapter);
|
||||
$this->syncWechatCustomer($ChuKeBaoAdapter);
|
||||
|
||||
$output->writeln("同步任务 sync_wechat_to_ckb 已结束");
|
||||
return true;
|
||||
@@ -76,4 +78,16 @@ class SyncWechatDataToCkbTask extends Command
|
||||
{
|
||||
return $ChuKeBaoAdapter->syncWechatDeviceLoginLog();
|
||||
}
|
||||
|
||||
// syncDevice
|
||||
protected function syncWechatDevice(ChuKeBaoAdapter $ChuKeBaoAdapter)
|
||||
{
|
||||
return $ChuKeBaoAdapter->syncDevice();
|
||||
}
|
||||
|
||||
// syncWechatCustomer
|
||||
protected function syncWechatCustomer(ChuKeBaoAdapter $ChuKeBaoAdapter)
|
||||
{
|
||||
return $ChuKeBaoAdapter->syncWechatCustomer();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user