From 6b6c463295ae518720c5fe084d1b81162e8c8792 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期一, 07 八月 2023 16:34:17 +0800 Subject: [PATCH] Merge branch 'master-prod-new' into master-test --- phis-feign/src/main/java/com/hz/his/vo/order/refund/qr/RefundQrVo.java | 2 ++ phis-feign/src/main/java/com/hz/his/vo/order/refund/qr/RefundQrResponseVo.java | 18 ++++++++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/platform/payment/SConsumeNotifyRefundService.java | 24 ++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/payment/SConsumeNotifyRefundService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/payment/SConsumeNotifyRefundService.java new file mode 100644 index 0000000..1f00177 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/payment/SConsumeNotifyRefundService.java @@ -0,0 +1,24 @@ +package com.hz.his.feign.service.platform.payment; + +import com.hx.resultTool.Result; +import com.hz.his.vo.order.refund.qr.RefundQrVo; +import com.hz.his.vo.payment.PayNoVo; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; + +/** + * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� + */ +@FeignClient(name="phi-platform-service",path = "/phip",contextId = "c-notify-r") +public interface SConsumeNotifyRefundService { + + /** + * 璁㈠崟浜岀淮鐮佽皟璧烽��娆� + * 閽堝鏈敮浠樼殑璁㈠崟锛屼絾鏄凡缁忎娇鐢ㄤ簡璁㈠崟浜岀淮鐮佹敮浠� + * data浣跨敤 RefundQrResponseVo 杞寲 + */ + @PostMapping(value = "/order/qr/refund") + Result orderQrRefund(@RequestBody RefundQrVo refundQrVo); + +} \ No newline at end of file diff --git a/phis-feign/src/main/java/com/hz/his/vo/order/refund/qr/RefundQrResponseVo.java b/phis-feign/src/main/java/com/hz/his/vo/order/refund/qr/RefundQrResponseVo.java new file mode 100644 index 0000000..a82a31e --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/vo/order/refund/qr/RefundQrResponseVo.java @@ -0,0 +1,18 @@ +package com.hz.his.vo.order.refund.qr; + +import lombok.Data; + +import java.math.BigDecimal; + +/**璁㈠崟浜岀淮鐮侀��娆捐繑鍥炲疄浣� + * @author CJH + */ +@Data +public class RefundQrResponseVo { + /**Y-閫�娆剧紪鍙�*/ + private String refudnNo; + /**Y-璁㈠崟鏍囪瘑*/ + private String orderId; + /**Y-閫�娆鹃噾椤嶏紝蹇呴』鍜屾敮浠橀噾棰濅竴鏍�*/ + private BigDecimal refundTotal; +} diff --git a/phis-feign/src/main/java/com/hz/his/vo/order/refund/qr/RefundQrVo.java b/phis-feign/src/main/java/com/hz/his/vo/order/refund/qr/RefundQrVo.java index 6b926a3..ebeda76 100644 --- a/phis-feign/src/main/java/com/hz/his/vo/order/refund/qr/RefundQrVo.java +++ b/phis-feign/src/main/java/com/hz/his/vo/order/refund/qr/RefundQrVo.java @@ -17,4 +17,6 @@ private BigDecimal refundTotal; /**Y-鎿嶄綔鍛樺伐*/ private String employeeId; + /**N-閫�娆惧娉�*/ + private String remark; } -- Gitblit v1.8.0