...
|
...
|
@@ -211,6 +211,8 @@ class SendJob { |
|
|
$this->cnum--;
|
|
|
// 验证是否完成
|
|
|
if($data['maildata']['massSuit']??0){
|
|
|
$dst = db()->first(\Model\sendJobsSql::isStatus($data['id']));
|
|
|
if($dst && $dst['status'] != 3){
|
|
|
$total = db()->first(\Model\sendJobStatusSql::countSum($data['id']));
|
|
|
if($total){
|
|
|
// 更新状态
|
...
|
...
|
@@ -220,7 +222,7 @@ class SendJob { |
|
|
'error' => $total['e'],
|
|
|
],dbWhere(['id'=>$data['id']]));
|
|
|
}
|
|
|
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// 写入日志
|
...
|
...
|
|