diff --git a/app/Services/AlipayService.php b/app/Services/AlipayService.php index 339e0f71..8ec6ba46 100644 --- a/app/Services/AlipayService.php +++ b/app/Services/AlipayService.php @@ -101,7 +101,7 @@ class AlipayService $cfg->merchantCertPath = $configs['app_public_cert_path']; $cfg->alipayCertPath = $configs['public_cert_path']; $cfg->alipayRootCertPath = $configs['root_cert_path']; - $cfg->notifyUrl = 'https://zichunsheng.cn/callback/alipay' ?? url(route('alipay.notify', [], false), [], true); + $cfg->notifyUrl = url(route('alipay.notify', [], false), [], true); $certEnvironment = new CertEnvironment(); $certEnvironment->certEnvironment(