From 3a0a98d3ea6f852eff758413e5e7ec36e1e06404 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期六, 17 八月 2024 15:31:17 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/OtherClient.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/OtherClient.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/OtherClient.java
index c4e9382..2fe5930 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/OtherClient.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/OtherClient.java
@@ -21,7 +21,7 @@
  * 商品服务
  * @author ruoyi
  */
-@FeignClient(contextId = "UnitClient", value = ServiceNameConstants.CONTRACT_SERVICE, fallbackFactory = OtherFallbackFactory.class)
+@FeignClient(contextId = "UnitClient", value = ServiceNameConstants.OTHER_SERVICE, fallbackFactory = OtherFallbackFactory.class)
 public interface OtherClient {
     //单位分页
     @PostMapping(value = "/t-company/unit/page")
@@ -31,10 +31,10 @@
     R unitAddorUpadate(@RequestBody TCompany tCompany);
     //单位删除
     @PostMapping(value = "/t-company/unit/delete")
-    R unitDelete(@RequestParam Integer id);
+    R unitDelete(@RequestParam("id") Integer id);
 
     @PostMapping(value = "/t-company/unit/detail")
-    R<TCompany> unitDetail(@RequestParam Integer id);
+    R<TCompany> unitDetail(@RequestParam("id") Integer id);
 
     //标签分页
     @PostMapping(value = "/t-user-tag/page")
@@ -45,14 +45,14 @@
     R addorUpdateTag(@RequestBody TUserTag tUserTag);
     //删除用户标签
     @PostMapping(value = "/t-user-tag/delete")
-    R deleteTag(@RequestParam Integer id);
+    R deleteTag(@RequestParam("id") Integer id);
 
     //获取标签Map
     @PostMapping(value = "/t-user-tag/getTagMap")
     R<Map<Integer, String>> getTagMap(@RequestBody List<Integer> ids);
     //获取标签
     @PostMapping(value = "/t-user-tag/getById")
-    R<TUserTag> getByIdTag(@RequestParam Integer id);
+    R<TUserTag> getByIdTag(@RequestParam("id") Integer id);
 
     @PostMapping(value = "/vip/getVipMap")
     R<Map<Integer, String>> getVipMap(@RequestBody List<Integer> ids);

--
Gitblit v1.7.1