From 314a4b858417df3d0e97049c3bf36e91cdf228ee Mon Sep 17 00:00:00 2001 From: cmg <527198563@qq.com> Date: 星期二, 30 四月 2024 20:44:47 +0800 Subject: [PATCH] 修改feign调用的服务名 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java | 29 +++++++++++++++++++++++++++-- 1 files changed, 27 insertions(+), 2 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java index a2b5414..578340a 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java @@ -2,7 +2,9 @@ import com.hx.resultTool.Result; import com.hz.his.dto.user.money.PhisUserMoneyDto; +import com.hz.his.dto.user.money.UserMoneyDto; import com.hz.his.dto.user.money.UserMoneyUpdateDto; +import com.hz.his.dto.user.money.UserTurnDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -10,7 +12,7 @@ /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-money") +@FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-user-money") public interface SPhipUserMoneyService { /** @@ -22,7 +24,30 @@ /** * 寮�鏀惧钩鍙�-鐢ㄦ埛璧勪骇淇敼 */ - @PostMapping(value = "/phip/user/money/unclaimed/add") + @PostMapping(value = "/user/money/unclaimed/add") Result userMoneyUpdate(@RequestBody UserMoneyUpdateDto userMoneyUpdateDto); + /** + * 寮�鏀惧钩鍙�-鐢ㄦ埛璧勯噾淇℃伅 + */ + @PostMapping(value = "/user/money/info") + Result userMoneyInfo(@RequestBody UserMoneyDto userMoneyDto); + + /** + * 寮�鏀惧钩鍙�-鐢ㄦ埛璧勯噾鏉ユ簮淇℃伅(鏃ュ織娑堟伅鏌ヨ) + */ + @PostMapping(value = "/user/money/log/source/info") + Result userMoneyLogSourceInfo(@RequestBody UserMoneyDto userMoneyDto); + + /** + * 寮�鏀惧钩鍙�-鐢ㄦ埛璧勯噾浣跨敤淇℃伅(鏃ュ織娑堟伅鏌ヨ) + */ + @PostMapping(value = "/user/money/log/use/info") + Result userMoneyLogUseInfo(@RequestBody UserMoneyDto userMoneyDto); + + /** + * 寮�鏀惧钩鍙�-鐢ㄦ埛璧勯噾杞禒 + */ + @PostMapping(value = "/user/money/turn") + Result userMoneyTurn(@RequestBody UserTurnDto userTurnDto); } \ No newline at end of file -- Gitblit v1.8.0