|
...
|
...
|
@@ -43,4 +43,22 @@ class GeoWritingTaskController extends BaseController |
|
|
|
$data = $this->logic->saveWritingTask();
|
|
|
|
$this->response('success',Code::SUCCESS,$data);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :批量删除文章任务
|
|
|
|
* @name :delWritingTask
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2025/10/25 15:03
|
|
|
|
*/
|
|
|
|
public function delWritingTask(){
|
|
|
|
$this->request->validate([
|
|
|
|
'id'=>'required|array',
|
|
|
|
],[
|
|
|
|
'id.required' => 'ID不能为空',
|
|
|
|
'id.array' => 'ID为数组',
|
|
|
|
]);
|
|
|
|
$data = $this->logic->delWritingTask();
|
|
|
|
$this->response('success',Code::SUCCESS,$data);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|