From 1b1fedf11fa800a8dfeba43acc2fc8c7582f03a9 Mon Sep 17 00:00:00 2001
From: luodangjia <luodangjia>
Date: 星期四, 08 八月 2024 17:03:08 +0800
Subject: [PATCH] 8.8.1
---
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