he2802 2 년 전
부모
커밋
f88f58e3a2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/java/com/zhongzheng/modules/wx/service/impl/WxPayServiceImpl.java

+ 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 {