From b8e945f1ebcb88af267a089d905fa23efdc9bee9 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期一, 18 十二月 2023 14:52:03 +0800 Subject: [PATCH] 1.新增dto字段 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java | 36 +++++++++++++++++++++++++++++++++--- 1 files changed, 33 insertions(+), 3 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 eaf294e..9fd2c62 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 @@ -1,7 +1,10 @@ package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; -import com.hz.his.dto.user.UserParamDto; +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; @@ -9,15 +12,42 @@ /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="phi-platfrom-service",path = "/phip",contextId = "phip-user-money") +@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-money") public interface SPhipUserMoneyService { /** * 寮�鏀惧钩鍙�-鐢ㄦ埛鏂板 */ @PostMapping(value = "/user/money/op") - Result addUser(@RequestBody UserParamDto userParamDto); + Result upUserMoney(@RequestBody PhisUserMoneyDto userMoneyDto); + /** + * 寮�鏀惧钩鍙�-鐢ㄦ埛璧勪骇淇敼 + */ + @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