Переглянути джерело

公众号支付接口调整

zsf 3 тижнів тому
батько
коміт
99f50b4bbb

+ 1 - 1
src/main/java/com/rf/psychological/wxpay/service/impl/WxPayServiceImpl.java

@@ -374,7 +374,7 @@ public class WxPayServiceImpl implements WxPayService {
             payParam.put("timeStamp",System.currentTimeMillis()/1000+"");
             payParam.put("package","prepay_id="+resultMap.get("prepay_id"));
             payParam.put("signType","RSA");
-            payParam.put("appId",wxPayConfig.getAspi_appid());
+            payParam.put("appId",wxPayConfig.getOa_appid());
             payParam.put("nonceStr",RandomUtil.getRandomString(32));
             Signature signature = Signature.getInstance("SHA256withRSA");
             signature.initSign(wxPayConfig.getPrivateKey(wxPayConfig.getPrivateKeyPath()));