作者 邓超

x

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