From fcdef9e467dd39922974116db65e366ff6c3cd7e Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期一, 07 八月 2023 16:21:53 +0800 Subject: [PATCH] 新增支付接口 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 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..743ccb4 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,9 @@ 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 org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -9,15 +11,36 @@ /** * 杩欓噷杩欎釜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); } \ No newline at end of file -- Gitblit v1.8.0