he2802 2 年之前
父节点
当前提交
f88f58e3a2

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/wx/service/impl/WxPayServiceImpl.java

@@ -265,7 +265,7 @@ public class WxPayServiceImpl implements IWxPayService {
     @Override
     public Map<String, String> paymentPc(String out_trade_no, String openid, String body, BigDecimal price) {
         initData();
-        WxSmallConfig config = new WxSmallConfig(appid, mchid, key);
+        WxSmallConfig config = new WxSmallConfig(gzhAppid, mchid, key);
         BigDecimal unit = new BigDecimal(100);
         price = price.multiply(unit);
         try {