From 6b9aaf9efd5d920a2711e74fc0411309e11ddbe9 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期日, 25 六月 2023 10:51:17 +0800 Subject: [PATCH] 用户卡项退款-新增接口 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java | 18 +++++++++++++++--- 1 files changed, 15 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..a76d5a6 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,25 @@ /** * 杩欓噷杩欎釜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); } \ No newline at end of file -- Gitblit v1.8.0