From 9013338b2e3f6b483cd8aca3d8022ab84d09034d Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Thu, 14 Mar 2024 16:13:59 +0800 Subject: [PATCH] update --- .../controller/custom/CustomServiceController.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/adminapi/controller/custom/CustomServiceController.php b/app/adminapi/controller/custom/CustomServiceController.php index 0fa59889c..81c525984 100644 --- a/app/adminapi/controller/custom/CustomServiceController.php +++ b/app/adminapi/controller/custom/CustomServiceController.php @@ -77,6 +77,19 @@ class CustomServiceController extends BaseAdminController return $this->fail(CustomServiceLogic::getError()); } + /** + * @notes 删除 + * @return \think\response\Json + * @author likeadmin + * @date 2023/11/11 22:56 + */ + public function delete() + { + $params = (new CustomServiceValidate())->post()->goCheck('delete'); + CustomServiceLogic::delete($params); + return $this->success('删除成功', [], 1, 1); + } + /** * @notes 获取详情