浏览代码

公众号支付接口调整

zsf 3 周之前
父节点
当前提交
99f50b4bbb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/rf/psychological/wxpay/service/impl/WxPayServiceImpl.java

+ 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()));