修改自动推广的相关任务
This commit is contained in:
@@ -661,9 +661,9 @@ class PromotionService
|
||||
$data = ['task_id' => $taskId];
|
||||
|
||||
if ($delay > 0) {
|
||||
Queue::later($delay, $jobClass, $data, 'promotion');
|
||||
Queue::later($delay, $jobClass, $data, 'PromotionSend');
|
||||
} else {
|
||||
Queue::push($jobClass, $data, 'promotion');
|
||||
Queue::push($jobClass, $data, 'PromotionSend');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user