From 71dd1561bbe8098680473df9c04f06ceca8b7a7d Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Tue, 14 Nov 2023 13:55:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4diam?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/web/controller/OrderPayController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hai-order/src/main/java/com/web/controller/OrderPayController.java b/hai-order/src/main/java/com/web/controller/OrderPayController.java index c4f235cc..e2c3735a 100644 --- a/hai-order/src/main/java/com/web/controller/OrderPayController.java +++ b/hai-order/src/main/java/com/web/controller/OrderPayController.java @@ -579,7 +579,7 @@ public class OrderPayController { payParam.put("outTradeNo" , order.getOrderNo()); payParam.put("transType" , "JSAPI"); payParam.put("payMode" , "ALIPAY"); - payParam.put("totalAmount" , order.getTotalPrice()); + payParam.put("totalAmount" , order.getPayRealPrice()); payParam.put("profitSharing" , profitSharing.equals("Y")?1:0); payParam.put("notifyUrl" , SysConst.getSysConfig().getHuiPayNotify()); payParam.put("subject" , orderTitle);