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