ts
This commit is contained in:
@@ -14,7 +14,7 @@ use Webman\RedisQueue\Redis as RedisQueueRedis;
|
|||||||
*/
|
*/
|
||||||
class InquiryReissueCommand extends Command
|
class InquiryReissueCommand extends Command
|
||||||
{
|
{
|
||||||
protected static $defaultName = 'iq_bf';
|
protected static $defaultName = 'iq-bf';
|
||||||
protected static $defaultDescription = '';
|
protected static $defaultDescription = '';
|
||||||
|
|
||||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ class InquiryToCrmNew implements Consumer
|
|||||||
发过 没分 更新 (要同步)7
|
发过 没分 更新 (要同步)7
|
||||||
发过 分过 更新 (要同步)8
|
发过 分过 更新 (要同步)8
|
||||||
*/
|
*/
|
||||||
|
var_dump('询单同步开始:'.$data['id']);
|
||||||
try {
|
try {
|
||||||
// 获取询盘信息
|
// 获取询盘信息
|
||||||
$info = InquiryLog::with(['channelInfo', 'countryInfo', 'enter'])->where('id', $data['id'])->first();
|
$info = InquiryLog::with(['channelInfo', 'countryInfo', 'enter'])->where('id', $data['id'])->first();
|
||||||
@@ -57,6 +57,7 @@ class InquiryToCrmNew implements Consumer
|
|||||||
// 更改库信息
|
// 更改库信息
|
||||||
$this->syncCustomer($info);
|
$this->syncCustomer($info);
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
|
var_dump('询单同步失败:'.$th->getMessage().' | '.$th->getLine().' | '.$th->getFile());
|
||||||
throw $th;
|
throw $th;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user