@@ -29,7 +29,8 @@ class QianBaoService extends BaseService
// 获取异步的通知地址
public static function getNotifyUrl()
{
- return 'https://botpc28.testx2.cc/api/pay/notify';
+ $host = config('app.url');
+ return $host.'/api/pay/notify';
}
// 获取商户ID
@@ -61,7 +61,8 @@ class SanJinService extends BaseService
- return 'https://botpc28.testx2.cc/api/pay/harvest';
+ return $host.'/api/pay/harvest';