From bc3efc0be8b2fd38ecfd5d8519f5e2be0df1bccc Mon Sep 17 00:00:00 2001 From: david082321 <7046617+david082321@users.noreply.github.com> Date: Sat, 4 Jun 2022 14:38:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9web=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E6=9C=AA=E4=BC=A0appkey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/process.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/utils/process.php b/utils/process.php index fb8f93d..3f88b9b 100644 --- a/utils/process.php +++ b/utils/process.php @@ -15,7 +15,11 @@ if (SAVE_LOG == 1) { define('QUERY', $query); } -define('APPKEY', @$_GET['appkey']); +if (@$_GET['appkey'] == "") { + define('APPKEY', "1d8b6e7d45233436"); // 兼容web脚本 +} else { + define('APPKEY', @$_GET['appkey']); +} define('ACCESS_KEY', @$_GET['access_key']); define('CID', @$_GET['cid']); define('EP_ID', @$_GET['ep_id']);