|
...
|
...
|
@@ -46,4 +46,21 @@ class BTemplateModuleProjectController extends BaseController |
|
|
|
$logic->moduleProjectSave();
|
|
|
|
return $this->response('success');
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :
|
|
|
|
* @name :del
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/11/28 17:39
|
|
|
|
*/
|
|
|
|
public function del(BTemplateModuleProjectLogic $logic){
|
|
|
|
$this->request->validate([
|
|
|
|
'id'=>'required',
|
|
|
|
],[
|
|
|
|
'id.required' => 'id不能为空',
|
|
|
|
]);
|
|
|
|
$logic->delModule();
|
|
|
|
$this->response('success');
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|