微信支付服务升级依赖

This commit is contained in:
liuweijw
2018-10-26 09:26:00 +08:00
parent 1ba8834b72
commit 9a3f71ceb3
2 changed files with 3 additions and 3 deletions

View File

@@ -94,7 +94,7 @@ public class WxUnifiedOrderServiceImpl implements WxUnifiedOrderService {
configMap.put("appid", appId);
// 此map用于客户端与微信服务器交互
payInfo.put("sign", SignUtils.createSign(configMap, null, wxPayConfig
.getMchKey(), false));
.getMchKey(), new String[0]));
payInfo.put("prepayId", wxPayUnifiedOrderResult.getPrepayId());
payInfo.put("partnerId", partnerId);
payInfo.put("appId", appId);
@@ -115,7 +115,7 @@ public class WxUnifiedOrderServiceImpl implements WxUnifiedOrderService {
payInfo.put("package", "prepay_id=" + wxPayUnifiedOrderResult.getPrepayId());
payInfo.put("signType", WxPayConstants.SignType.MD5);
payInfo.put("paySign", SignUtils.createSign(payInfo, null, wxPayConfig
.getMchKey(), false));
.getMchKey(), new String[0]));
map.put("payParams", payInfo);
break;
}

View File

@@ -88,7 +88,7 @@
<ttl.version>2.2.0</ttl.version>
<zuul-ratelimit>1.7.0.RELEASE</zuul-ratelimit>
<hutool-all>3.3.2</hutool-all>
<weixin.business.version>3.1.0</weixin.business.version>
<weixin.business.version>3.2.0</weixin.business.version>
<weixin.emoji.converter.version>0.1.1</weixin.emoji.converter.version>
<cloud-commons.version>1.0.5-SNAPSHOT</cloud-commons.version>
<kaptcha.version>0.0.9</kaptcha.version>