Skip to content

Commit b403551

Browse files
committed
Merge pull request #286 from fxdfxq/patch-1
Update WxMpServiceImpl.java
2 parents ce554bf + 4979a16 commit b403551

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/WxMpServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,7 @@ public Map<String, String> getJSSDKPayInfo(Map<String, String> parameters) throw
866866
payInfo.put("nonceStr", System.currentTimeMillis() + "");
867867
payInfo.put("package", "prepay_id=" + prepayId);
868868
payInfo.put("signType", "MD5");
869+
payInfo.put("code_url",wxMpPrepayIdResult.getCode_url());
869870

870871
String finalSign = WxCryptUtil.createSign(payInfo, wxMpConfigStorage.getPartnerKey());
871872
payInfo.put("paySign", finalSign);

0 commit comments

Comments
 (0)