From 74caeb66b3db6d2fb2b8141ee2a7ea881de2dfa8 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期一, 25 七月 2022 10:45:06 +0800 Subject: [PATCH] 微服务问题 --- phis-feign/src/main/java/com/hz/his/feign/service/SUserService.java | 28 +++++++++++++++------------- 1 files changed, 15 insertions(+), 13 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SUserService.java index eb77bfd..46c50c7 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/SUserService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/SUserService.java @@ -33,10 +33,24 @@ /** * 鑾峰彇鍒扮敤鎴疯鎯� * @param userId 棰勭害鐢ㄦ埛鏍囪瘑 - * @return UserDt + * @return 杞寲浣跨敤UserDt */ @PostMapping(value = "/user/info") Result userInfo(@RequestParam("userId") String userId); + + + /** + * 鏍规嵁鐢佃瘽鍙风爜鏌ヨ鐢ㄦ埛淇℃伅 + * @param tel + * */ + @PostMapping(value = "/user/info/tel") + Result findUserInfoByTel(@RequestParam("tel") String tel); + + /** + * 鏍规嵁鐢佃瘽鍙风爜鎴栬�匔IQ鑾峰彇鎸囧畾鐢ㄦ埛 + * */ + @PostMapping(value = "/user/info/telOrCiq") + Result findUserByTelOrCiq(@RequestBody UserDto userDto); /** * 鑾峰彇鐢ㄦ埛椤圭洰 @@ -127,12 +141,6 @@ @PostMapping(value = "/user/integral/used") Result userIntegralUsed(@RequestBody UserIntegralDto userIntegralDto); - /** - * 鏍规嵁鐢佃瘽鍙风爜鏌ヨ鐢ㄦ埛淇℃伅 - * @param tel - * */ - @PostMapping(value = "/user/info/tel") - Result findUserInfoByTel(@RequestParam("tel") String tel); /** * 鑾峰彇鐢ㄦ埛鎷ユ湁缁熻 @@ -147,12 +155,6 @@ * */ @PostMapping(value = "/user/can/use/coupon") Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); - - /** - * 鏍规嵁鐢佃瘽鍙风爜鎴栬�匔IQ鑾峰彇鎸囧畾鐢ㄦ埛 - * */ - @PostMapping(value = "/user/info/telOrCiq") - Result findUserByTelOrCiq(@RequestBody UserDto userDto); /** -- Gitblit v1.8.0