浏览代码

[智价云] 预警通知推送更新

tangyuanwang 19 小时之前
父节点
当前提交
62aa657eac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Console/Commands/CityWarningNotice.php

+ 1 - 1
app/Console/Commands/CityWarningNotice.php

@@ -33,7 +33,7 @@ class CityWarningNotice extends Command
         $this->info('开始执行每日采集预警通知任务...' . now());
         try {
             Log::info('每日采集预警通知任务执行中 - ' . now());
-            CityWarningNoticeJobs::dispatch();
+            CityWarningNoticeJobs::dispatchSync([]);
             $this->info('每日采集预警通知执行完成!' . now());
             return Command::SUCCESS;
         } catch (\Exception $e) {