mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-24 08:57:16 +08:00
Update WxMpServiceImpl.java
增加getJSSDKPayInfo返回字段code_url,用于微信扫码支付生成二维码图片使用
This commit is contained in:
parent
ce554bfeb4
commit
4979a16ae7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user