Merge pull request #286 from fxdfxq/patch-1

Update WxMpServiceImpl.java
This commit is contained in:
Daniel Qian
2016-03-24 08:52:48 +08:00

View File

@ -866,6 +866,7 @@ public class WxMpServiceImpl implements WxMpService {
payInfo.put("nonceStr", System.currentTimeMillis() + "");
payInfo.put("package", "prepay_id=" + prepayId);
payInfo.put("signType", "MD5");
payInfo.put("code_url",wxMpPrepayIdResult.getCode_url());
String finalSign = WxCryptUtil.createSign(payInfo, wxMpConfigStorage.getPartnerKey());
payInfo.put("paySign", finalSign);