Commit e187c590 authored by cbwleft's avatar cbwleft
Browse files

解决微信APP支付与文档上字段名称不一致的问题

parent 00076fd1
......@@ -97,12 +97,12 @@ public class PayChannel4WxServiceImpl extends BaseService implements IPayChannel
configMap.put("appid", appId);
// 此map用于客户端与微信服务器交互
payInfo.put("sign", SignUtils.createSign(configMap, wxPayConfig.getMchKey(), null));
payInfo.put("prepayId", wxPayUnifiedOrderResult.getPrepayId());
payInfo.put("partnerId", partnerId);
payInfo.put("appId", appId);
payInfo.put("packageValue", packageValue);
payInfo.put("timeStamp", timestamp);
payInfo.put("nonceStr", nonceStr);
payInfo.put("prepayid", wxPayUnifiedOrderResult.getPrepayId());
payInfo.put("partnerid", partnerId);
payInfo.put("appid", appId);
payInfo.put("package", packageValue);
payInfo.put("timestamp", timestamp);
payInfo.put("noncestr", nonceStr);
map.put("payParams", payInfo);
break;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment