mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-06 05:37:48 +08:00
签名问题修复 (#205)
This commit is contained in:
parent
f45ef9a3db
commit
dfed700eb0
@ -203,7 +203,7 @@ public class WxPayServiceImpl implements WxPayService {
|
||||
configMap.put("noncestr", String.valueOf(System.currentTimeMillis()));
|
||||
configMap.put("appid", appId);
|
||||
// 此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("partnerId", partnerid);
|
||||
payInfo.put("appId", appId);
|
||||
|
Loading…
Reference in New Issue
Block a user