|
@@ -82,7 +82,7 @@ class YychengProductJobs implements ShouldQueue
|
|
|
$message_data['total'] = $total;
|
|
$message_data['total'] = $total;
|
|
|
YychengProductJobs::dispatch($message_data)->delay(now()->addSeconds(10)); //延时10秒执行、防止队列堵塞;
|
|
YychengProductJobs::dispatch($message_data)->delay(now()->addSeconds(10)); //延时10秒执行、防止队列堵塞;
|
|
|
|
|
|
|
|
- Log::info('job_info', '采集数据-医药城数据同步队列日志', ['data' => ['page' => $page, 'limit' => $limit, 'totle' => $total]]);
|
|
|
|
|
|
|
+ Log::info('job_info', '采集数据-医药城数据同步队列日志', ['data' => ['page' => $page, 'limit' => $limit, 'totle' => $total,'start_time' => date('Y-m-d H:i:s', $yesterdayStart), 'end_time' => date('Y-m-d H:i:s', $yesterdayEnd)]]);
|
|
|
} catch (\Exception $e) {
|
|
} catch (\Exception $e) {
|
|
|
Log::info('job_error', '采集数据-医药城数据同步队列失败', ['error' => $e->getMessage()]);
|
|
Log::info('job_error', '采集数据-医药城数据同步队列失败', ['error' => $e->getMessage()]);
|
|
|
}
|
|
}
|