作者 邓超

x

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