From 1d19023a4880b1f2f6b4bfe0fb4679194ebdd233 Mon Sep 17 00:00:00 2001 From: zhuxiao Date: Tue, 12 Jul 2022 10:24:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BE=AE=E4=BF=A1app?= =?UTF-8?q?=E8=B0=83=E8=B5=B7=E6=94=AF=E4=BB=98=E7=AD=BE=E5=90=8D=E4=B8=B2?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/jeequan/jeepay/pay/channel/wxpay/kits/WxpayV3Util.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/wxpay/kits/WxpayV3Util.java b/jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/wxpay/kits/WxpayV3Util.java index 2880a86..91f57d3 100644 --- a/jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/wxpay/kits/WxpayV3Util.java +++ b/jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/wxpay/kits/WxpayV3Util.java @@ -136,7 +136,7 @@ public class WxpayV3Util { String packageValue = "Sign=WXPay"; // 此map用于客户端与微信服务器交互 - String beforeSign = String.format("%s\n%s\n%s\n%s\n", wxAppId, timestamp, nonceStr, "prepay_id=" + prepayId); + String beforeSign = String.format("%s\n%s\n%s\n%s\n", wxAppId, timestamp, nonceStr, prepayId); payInfo.put("sign", SignUtils.sign(beforeSign, PemUtils.loadPrivateKey(new FileInputStream(wxPayConfig.getPrivateKeyPath())))); payInfo.put("prepayId", prepayId); payInfo.put("partnerId", partnerId);