Explorar el Código

修改支付结果异步通知地址

codingliang hace 1 año
padre
commit
c78d067eca

+ 2 - 3
src/main/java/com/sqx/modules/pay/service/impl/NewPayServiceImpl.java

@@ -87,7 +87,7 @@ public class NewPayServiceImpl implements NewPayService {
         WechatPayConfig wechatMchConfig = getWechatMchConfig();
 
         // h5服务域名配置
-        String notifyUrl = wechatMchConfig.getH5Url() + "/sqx_fast/app/new-pay/notify";
+        String notifyUrl = wechatMchConfig.getH5Url() + "/sqx_fast/app/new-pay/wechat-pay/notify";
 
         RhtQrcodePayApi qrcodePay = new RhtQrcodePayApi(wechatMchConfig.getMchId(), wechatMchConfig.getMchKey(), RHT_PAY_BASE_URL);
         QrcodeOpenPayRequestBean openRequest = new QrcodeOpenPayRequestBean();
@@ -293,8 +293,7 @@ public class NewPayServiceImpl implements NewPayService {
                 .appId(commonInfoService.findOne(45).getValue())
                 .mchId(commonInfoService.findOne(434).getValue())
                 .mchKey(commonInfoService.findOne(435).getValue())
-                // .h5Url(commonInfoService.findOne(19).getValue())
-                .h5Url("http://fwt4x5.natappfree.cc")
+                .h5Url(commonInfoService.findOne(19).getValue())
                 .build();
     }
 }