作者 邓超

x

... ... @@ -442,14 +442,13 @@ class Mail {
try {
$id = $db->throw()->insert(listsSql::$table,$data);
if($id){
try {
if(php_sapi_name()=='cli'){
go(function ($id,$header,$data){
new syncMail($id,$header,$data);
},...[$id,$header,$data]);
}catch (\Throwable $e){
logs($e->getMessage());
},
...[$id,$header,$data]
);
}
}
}catch (\Throwable $e){
... ...