|
...
|
...
|
@@ -157,4 +157,19 @@ class KeywordVideoController extends BaseController |
|
|
|
$this->response('success',Code::SUCCESS,$list);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :获取任务数量
|
|
|
|
* @name :taskNum
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2024/6/13 16:16
|
|
|
|
*/
|
|
|
|
public function taskNum(){
|
|
|
|
$keywordModel = new KeywordVideoTask();
|
|
|
|
$data['total'] = $keywordModel->count();
|
|
|
|
$data['start_total'] = $keywordModel->formatQuery(['status'=>0])->count();
|
|
|
|
$data['end_total'] = $keywordModel->formatQuery(['status'=>2])->count();
|
|
|
|
$this->response('success',Code::SUCCESS,$data);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|