|
...
|
...
|
@@ -114,9 +114,10 @@ class GeoArticleController extends BaseController |
|
|
|
*/
|
|
|
|
public function del(){
|
|
|
|
$this->request->validate([
|
|
|
|
'id'=>'required',
|
|
|
|
'ids'=>'required|array',
|
|
|
|
],[
|
|
|
|
'id.required' => 'ID不能为空',
|
|
|
|
'ids.required' => 'IDs不能为空',
|
|
|
|
'ids.array' => '数据详情为数组',
|
|
|
|
]);
|
|
|
|
$data = $this->logic->delArticle();
|
|
|
|
$this->response('success',Code::SUCCESS,$data);
|
...
|
...
|
|