...
|
...
|
@@ -322,13 +322,14 @@ class Home extends Base { |
|
|
$sendData['masssuit_interval_send']['end'] = intval($sendData['masssuit_interval_send']['end']??1);
|
|
|
}
|
|
|
|
|
|
|
|
|
// 插入任务
|
|
|
$job_id = db()->insert(sendJobsSql::$table,[
|
|
|
'email_id' => $email['id'],
|
|
|
'maildata' => $sendData,
|
|
|
'title' => $sendData['jobName'] ? : $sendData['subject'],
|
|
|
'total' => count($sendData['tos']),
|
|
|
'send_time' => $timer
|
|
|
'send_time' => $timer?:time()
|
|
|
]);
|
|
|
if($job_id){
|
|
|
// 返回任务id
|
...
|
...
|
|