fix: 商城支付微信返回jsapi

pull/2/head
tangqian 2023-05-26 14:39:02 +08:00
parent be59002235
commit 43dc44f495
2 changed files with 3 additions and 0 deletions

View File

@ -49,4 +49,6 @@ public class WxPayJsResultVo {
@Schema(description = "拉起收银台的ticket", required = true)
private String ticket;
@Schema(description = "", required = true)
private String packageValue;
}

View File

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