From 85a79193a663efbcb2269a4d4f61aa2efd802e70 Mon Sep 17 00:00:00 2001 From: mzl Date: Thu, 11 Dec 2025 15:23:02 +0800 Subject: [PATCH] ts --- app/command/InquiryReissueCommand.php | 2 +- app/queue/redis/InquiryToCrmNew.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/command/InquiryReissueCommand.php b/app/command/InquiryReissueCommand.php index 794d419..1ef8da3 100644 --- a/app/command/InquiryReissueCommand.php +++ b/app/command/InquiryReissueCommand.php @@ -14,7 +14,7 @@ use Webman\RedisQueue\Redis as RedisQueueRedis; */ class InquiryReissueCommand extends Command { - protected static $defaultName = 'iq_bf'; + protected static $defaultName = 'iq-bf'; protected static $defaultDescription = ''; protected function execute(InputInterface $input, OutputInterface $output): int diff --git a/app/queue/redis/InquiryToCrmNew.php b/app/queue/redis/InquiryToCrmNew.php index 2ad666f..c3d0abf 100644 --- a/app/queue/redis/InquiryToCrmNew.php +++ b/app/queue/redis/InquiryToCrmNew.php @@ -39,7 +39,7 @@ class InquiryToCrmNew implements Consumer 发过 没分 更新 (要同步)7 发过 分过 更新 (要同步)8 */ - +var_dump('询单同步开始:'.$data['id']); try { // 获取询盘信息 $info = InquiryLog::with(['channelInfo', 'countryInfo', 'enter'])->where('id', $data['id'])->first(); @@ -57,6 +57,7 @@ class InquiryToCrmNew implements Consumer // 更改库信息 $this->syncCustomer($info); } catch (\Throwable $th) { + var_dump('询单同步失败:'.$th->getMessage().' | '.$th->getLine().' | '.$th->getFile()); throw $th; } }