...
|
...
|
@@ -5,6 +5,7 @@ namespace Controller; |
|
|
use Lib\Mail\Mail;
|
|
|
use Model\emailSql;
|
|
|
use Model\sendJobsSql;
|
|
|
use Model\sendJobStatusSql;
|
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -101,6 +102,31 @@ class Job extends Base { |
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 黑格发件任务详情
|
|
|
* @author:dc
|
|
|
* @time 2023/4/17 15:57
|
|
|
*/
|
|
|
public function jobDetail()
|
|
|
{
|
|
|
$page = app()->request('page', 1, 'intval');
|
|
|
$limit = app()->request('limit', 20, 'intval');
|
|
|
$jobId = app()->request('id', 0, 'intval');
|
|
|
|
|
|
if (!$jobId) {
|
|
|
app()->e('send_job_id_null_error');
|
|
|
}
|
|
|
|
|
|
$where = dbWhere([
|
|
|
'job_id' => $jobId
|
|
|
]);
|
|
|
|
|
|
$lists = db()->all(sendJobStatusSql::detail($where, $page, $limit));
|
|
|
|
|
|
return listsPage($lists,
|
|
|
db()->count(sendJobStatusSql::count($where))
|
|
|
, 1, 20);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|