From 960f36d9ad3df43b2146aa5265af0613139891c4 Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期五, 09 八月 2024 11:22:18 +0800 Subject: [PATCH] 8。9 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TCompanyController.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TCompanyController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TCompanyController.java index 83a51af..66c00cb 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TCompanyController.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TCompanyController.java @@ -53,5 +53,11 @@ return R.ok(); } + @PostMapping(value = "/unit/delete") + public R<TCompany> delete(@RequestParam Integer id) { + + + return R.ok( companyService.getById(id)); + } } -- Gitblit v1.7.1