From 779c95c795ecb425c8803efa6a5c93cfad5a0ac3 Mon Sep 17 00:00:00 2001 From: Devil Date: Tue, 10 Aug 2021 12:07:30 +0800 Subject: [PATCH] =?UTF-8?q?=20=E6=94=AF=E4=BB=98=E5=85=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=94=9F=E6=88=90=E9=94=99=E8=AF=AF=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/PaymentService.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/service/PaymentService.php b/app/service/PaymentService.php index c38db48a7..39fe9a4fa 100755 --- a/app/service/PaymentService.php +++ b/app/service/PaymentService.php @@ -808,15 +808,15 @@ namespace think; // 支付模块标记 define('PAYMENT_TYPE', '{$params["payment"]}'); +// 根目录入口 +define('IS_ROOT_ACCESS', true); + // 引入公共入口文件 require __DIR__.'/public/core.php'; // 加载基础文件 require __DIR__ . '/vendor/autoload.php'; -// 根目录入口 -define('IS_ROOT_ACCESS', true); - // 执行HTTP应用并响应 \$http = (new App())->http; \$response = \$http->name('{$module_notify}')->run(); @@ -840,15 +840,15 @@ namespace think; // 支付模块标记 define('PAYMENT_TYPE', '{$params["payment"]}'); +// 根目录入口 +define('IS_ROOT_ACCESS', true); + // 引入公共入口文件 require __DIR__.'/public/core.php'; // 加载基础文件 require __DIR__ . '/vendor/autoload.php'; -// 根目录入口 -define('IS_ROOT_ACCESS', true); - // 执行HTTP应用并响应 \$http = (new App())->http; \$response = \$http->name('{$module_respond}')->run();