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/refund/SCardRefundService.java | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/refund/SCardRefundService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/refund/SCardRefundService.java new file mode 100644 index 0000000..60e1b05 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/refund/SCardRefundService.java @@ -0,0 +1,33 @@ +package com.hz.his.feign.service.platform.refund; + +import com.hx.resultTool.Result; +import com.hz.his.dto.aduit.AduitDto; +import com.hz.his.dto.order.*; +import com.hz.his.vo.order.refund.RefundCancelVo; +import com.hz.his.vo.order.refund.card.RefundUserCardVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestHeader; + +/**鐢ㄦ埛鍗¢」閫�娆緁eign + * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� + */ +@FeignClient(name="phi-platform-service",path = "/phip",contextId = "card-refund") +public interface SCardRefundService { + + /** + * 寮�鏀惧钩鍙�-鑾峰彇鐢ㄦ埛鍗¢」鏉$洰鍙��娆鹃噾棰� + * data 瀹炰綋杞寲鐢紙RefundUserCardVo锛� + */ + @PostMapping(value = "/card/refund/get/amount") + Result getRefundAmount(@RequestBody RefundUserCardVo refundUserCardVo); + + /** + * 寮�鏀惧钩鍙�-纭鎻愪氦閫�娆� + * data 鏃犲疄浣撹浆鍖栫敤 + */ + @PostMapping(value = "/confirm") + Result refundConfirm(@RequestBody RefundUserCardVo refundUserCardVo); + +} \ No newline at end of file -- Gitblit v1.8.0