...
|
...
|
@@ -121,7 +121,7 @@ class SendJob { |
|
|
if($data['maildata']['massSuit']??0){
|
|
|
$tos = $data['maildata']['tos'];
|
|
|
foreach ($tos as $to){
|
|
|
_echo('正在执行任务 发送邮件 '.$to['email']);
|
|
|
|
|
|
// 续时间
|
|
|
redis()->set('send_job_run_id_'.$data['id'],$data['id'],600);
|
|
|
|
...
|
...
|
@@ -135,6 +135,7 @@ class SendJob { |
|
|
if(db()->count(\Model\sendJobStatusSql::count($data['id'],$to['email']))){
|
|
|
continue;
|
|
|
}
|
|
|
_echo('正在执行任务 发送邮件 '.$to['email']);
|
|
|
|
|
|
// 每个收件人单独发送
|
|
|
$data['maildata']['tos'] = [$to];
|
...
|
...
|
|