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());