...
|
...
|
@@ -154,7 +154,7 @@ class SendJob { |
|
|
db()->insert(\Model\sendJobStatusSql::$table,[
|
|
|
'job_id' => $data['id'],
|
|
|
'to_email' => $to['email'],
|
|
|
'status' => $result[0] ? 1 : 2,
|
|
|
'status' => $result[0] ? 1 : 0,
|
|
|
'error' => $result[1]
|
|
|
]);
|
|
|
|
...
|
...
|
@@ -203,7 +203,7 @@ class SendJob { |
|
|
db()->insert(\Model\sendJobStatusSql::$table,[
|
|
|
'job_id' => $data['id'],
|
|
|
'to_email' => 'all',
|
|
|
'status' => $result[0] ? 1 : 2,
|
|
|
'status' => $result[0] ? 1 : 0,
|
|
|
'error' => $result[0] ? $result[1] : ''
|
|
|
]);
|
|
|
}else{
|
...
|
...
|
|