From 2fafa9f3558da65e0d453e4faa825b6730de8c96 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期三, 24 八月 2022 19:07:58 +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 7f71ffb..1524058 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 @@ -6,6 +6,7 @@ import org.springframework.cloud.openfeign.FeignClient; import com.hx.resultTool.Result; +import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; @@ -20,13 +21,13 @@ * @param userId * @return */ - @PostMapping(value = "/user/consumption/data/list") + @PostMapping(value = "/user/consumption/data/list",consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE) Result userList(@RequestParam("userId") String userId); /** * 鏍规嵁鐢ㄦ埛id鍚屾鐢ㄦ埛鍩烘湰淇℃伅 * @param userId * @return */ - @PostMapping(value = "/sync/user/syncUserById") + @PostMapping(value = "/sync/user/syncUserById",consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE) Result syncUserById(@RequestParam("userId") String userId); } -- Gitblit v1.8.0