From 0f1fe51fd69ed582b26cec6363208ca99a74dfdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Thu, 28 Nov 2024 18:02:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=AA=E7=B1=B3=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/common/pay/tm/TmPayService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart-switch-ruoyi/smart-switch-common/src/main/java/com/ruoyi/common/pay/tm/TmPayService.java b/smart-switch-ruoyi/smart-switch-common/src/main/java/com/ruoyi/common/pay/tm/TmPayService.java index 9a06f034..996eed75 100644 --- a/smart-switch-ruoyi/smart-switch-common/src/main/java/com/ruoyi/common/pay/tm/TmPayService.java +++ b/smart-switch-ruoyi/smart-switch-common/src/main/java/com/ruoyi/common/pay/tm/TmPayService.java @@ -53,7 +53,7 @@ public class TmPayService { */ public RefundInfo refund(RefundAble refundAble) { HashMap body = new HashMap<>(); - body.put("refundFee", String.valueOf(refundAble.refundAmount().getTotal())); + body.put("refundFee", String.valueOf(refundAble.refundAmount().getRefund())); body.put("terminalType", "1"); body.put("outTradeId", refundAble.refundOutTradeNo()); body.put("shopId", config.getShopId());