From e81a31df3c29d7f0f732f327b80ab26661147887 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期三, 24 八月 2022 18:24:04 +0800
Subject: [PATCH] 接口增加注解

---
 phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java
index 4800ec1..7f71ffb 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java
@@ -7,6 +7,7 @@
 import org.springframework.cloud.openfeign.FeignClient;
 import com.hx.resultTool.Result;
 import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestParam;
 
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
@@ -20,12 +21,12 @@
      * @return
      */
     @PostMapping(value = "/user/consumption/data/list")
-    Result userList(String userId);
+    Result userList(@RequestParam("userId") String userId);
     /**
      * 鏍规嵁鐢ㄦ埛id鍚屾鐢ㄦ埛鍩烘湰淇℃伅
      * @param userId
      * @return
      */
     @PostMapping(value = "/sync/user/syncUserById")
-    Result syncUserById(String userId);
+    Result syncUserById(@RequestParam("userId") String userId);
 }

--
Gitblit v1.8.0