|
@@ -71,10 +71,10 @@ class YsbangProductJobs implements ShouldQueue
|
|
|
// YsbangStoreJobs::dispatchSync($list_data);
|
|
// YsbangStoreJobs::dispatchSync($list_data);
|
|
|
Log::info('job_info', '采集数据-药师帮数据同步队列日志', ['data' => ['page' => $page, 'limit' => $limit, 'totle' => $total]]);
|
|
Log::info('job_info', '采集数据-药师帮数据同步队列日志', ['data' => ['page' => $page, 'limit' => $limit, 'totle' => $total]]);
|
|
|
//继续执行下一页
|
|
//继续执行下一页
|
|
|
- // $message_data['page'] = $page + 1;
|
|
|
|
|
- // $message_data['limit'] = $limit;
|
|
|
|
|
- // $message_data['total'] = $total;
|
|
|
|
|
- // $this->dispatch($message_data);
|
|
|
|
|
|
|
+ $message_data['page'] = $page + 1;
|
|
|
|
|
+ $message_data['limit'] = $limit;
|
|
|
|
|
+ $message_data['total'] = $total;
|
|
|
|
|
+ $this->dispatch($message_data);
|
|
|
} catch (\Exception $e) {
|
|
} catch (\Exception $e) {
|
|
|
Log::info('job_error', '采集数据-药师帮数据同步队列失败', ['error' => $e->getMessage()]);
|
|
Log::info('job_error', '采集数据-药师帮数据同步队列失败', ['error' => $e->getMessage()]);
|
|
|
}
|
|
}
|