From afbb5bc3c3a4b3e97ee216fb4b7efe5a9b363312 Mon Sep 17 00:00:00 2001 From: mzeros Date: Thu, 26 Dec 2024 23:52:56 +0800 Subject: [PATCH] =?UTF-8?q?refactor(gateway):=20=E4=BF=AE=E6=94=B9appid?= =?UTF-8?q?=E7=99=BD=E5=90=8D=E5=8D=95=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了对'app114861412096'的测试验签判断 - 简化了appid白名单的判断逻辑 --- app/gateway/controller/v4/Core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gateway/controller/v4/Core.php b/app/gateway/controller/v4/Core.php index 760e07f..a0745ae 100644 --- a/app/gateway/controller/v4/Core.php +++ b/app/gateway/controller/v4/Core.php @@ -196,7 +196,7 @@ class Core extends Controller unset($input['cash']); } - if($input['appid'] != 'app574223018568' && $input['appid'] != 'app114861412096'){#测试验签 + if($input['appid'] != 'app574223018568' ){#测试验签 if(isset($this->input['signature'])){ $this->no(-10); }