作者 邓超

x

... ... @@ -118,7 +118,7 @@ class SendJob {
// 更新状态
db()->update(\Model\sendJobsSql::$table,[
'status' => 1,
'total' => count($data['maildata']['tos']??[])
'total' => count(array_unique($data['maildata']['tos']??[]))
],dbWhere([
'id' => $data['id']
]));
... ...