From 69322f5b6a662bc20bd75e73b316932aa66afa38 Mon Sep 17 00:00:00 2001 From: zhouwentao <1577701412@qq.com> Date: Wed, 26 Jun 2024 07:48:19 +0800 Subject: [PATCH] =?UTF-8?q?updates=20=E6=B5=8B=E8=AF=95=E6=8A=96=E9=9F=B3?= =?UTF-8?q?=E9=80=80=E6=AC=BE=E5=9B=9E=E8=B0=83=E6=8E=A5=E5=8F=A3=20?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=99=BB=E5=BD=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/modules/mini/controller/MiniPayApiController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/mini/controller/MiniPayApiController.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/mini/controller/MiniPayApiController.java index 42fb680..3adab56 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/mini/controller/MiniPayApiController.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/mini/controller/MiniPayApiController.java @@ -162,7 +162,7 @@ public class MiniPayApiController { String openId = user.getWxOpenId(); BigDecimal skuPrice = yxVipSku.getSkuPrice(); BigDecimal totalAmount = skuPrice.multiply(YxConstant.bigDecimal100); - /*totalAmount = YxConstant.bigDecimal100;*/ +// totalAmount = YxConstant.bigDecimal100; String description = "艺体志愿宝VIP"; if (StringUtils.isNotBlank(yxVipSku.getSkuName())) { @@ -401,8 +401,8 @@ public class MiniPayApiController { // 执行更改订单状态 YxOrder yxOrder = yxOrderService.updateRefund(orderCode, cpRefundNo, refundNo, refundAmount); // 更改当前用户的状态 - if(yxOrder!=null &&StringUtils.isNotBlank(yxOrder.getCreateBy())){ - miniUserService.logoutUser(yxOrder.getCreateBy()); + if(yxOrder!=null &&StringUtils.isNotBlank(yxOrder.getPaymentUserId())){ + miniUserService.logoutUser(yxOrder.getPaymentUserId()); } response.setStatus(200);