作者 邓超

x

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