Browse Source

签名问题修复 (#205)

master
DDLeEHi 8 years ago
committed by Binary Wang
parent
commit
dfed700eb0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/WxPayServiceImpl.java

+ 1
- 1
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/WxPayServiceImpl.java View File

@@ -203,7 +203,7 @@ public class WxPayServiceImpl implements WxPayService {
configMap.put("noncestr", String.valueOf(System.currentTimeMillis())); configMap.put("noncestr", String.valueOf(System.currentTimeMillis()));
configMap.put("appid", appId); configMap.put("appid", appId);
// 此map用于客户端与微信服务器交互 // 此map用于客户端与微信服务器交互
payInfo.put("paySign", SignUtils.createSign(payInfo, this.getConfig().getMchKey()));
payInfo.put("sign", SignUtils.createSign(configMap, this.getConfig().getMchKey()));
payInfo.put("prepayId", prepayId); payInfo.put("prepayId", prepayId);
payInfo.put("partnerId", partnerid); payInfo.put("partnerId", partnerid);
payInfo.put("appId", appId); payInfo.put("appId", appId);


Loading…
Cancel
Save