From 43dc44f495010c143908f5741e18125094393e34 Mon Sep 17 00:00:00 2001 From: tangqian Date: Fri, 26 May 2023 14:39:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=95=86=E5=9F=8E=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E8=BF=94=E5=9B=9Ejsapi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/iocoder/yudao/module/shop/vo/order/WxPayJsResultVo.java | 2 ++ .../module/shop/service/order/impl/OrderPayServiceImpl.java | 1 + 2 files changed, 3 insertions(+) diff --git a/yudao-module-mall/yudao-module-shop-api/src/main/java/cn/iocoder/yudao/module/shop/vo/order/WxPayJsResultVo.java b/yudao-module-mall/yudao-module-shop-api/src/main/java/cn/iocoder/yudao/module/shop/vo/order/WxPayJsResultVo.java index 60b2a1793..7ea745ff4 100644 --- a/yudao-module-mall/yudao-module-shop-api/src/main/java/cn/iocoder/yudao/module/shop/vo/order/WxPayJsResultVo.java +++ b/yudao-module-mall/yudao-module-shop-api/src/main/java/cn/iocoder/yudao/module/shop/vo/order/WxPayJsResultVo.java @@ -49,4 +49,6 @@ public class WxPayJsResultVo { @Schema(description = "拉起收银台的ticket", required = true) private String ticket; + @Schema(description = "", required = true) + private String packageValue; } diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/OrderPayServiceImpl.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/OrderPayServiceImpl.java index 69bad5794..20fff088c 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/OrderPayServiceImpl.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/order/impl/OrderPayServiceImpl.java @@ -254,6 +254,7 @@ public class OrderPayServiceImpl implements OrderPayService { vo.setAppId(/*unifiedorder.get("appId")*/jsapiResult.getAppId()); vo.setNonceStr(/*unifiedorder.get("nonceStr")*/jsapiResult.getNonceStr()); // vo.setPackages(unifiedorder.get("package")); + vo.setPackageValue(jsapiResult.getPackageValue()); vo.setSignType(/*unifiedorder.get("signType")*/jsapiResult.getSignType()); vo.setTimeStamp(/*unifiedorder.get("timeStamp")*/jsapiResult.getTimeStamp()); vo.setPaySign(/*unifiedorder.get("paySign")*/jsapiResult.getPaySign());