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; } }