From 3910fc0bfc6c4f0f0e442771cc8d15de4cf7653d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Wed, 4 Aug 2021 09:43:46 +0800 Subject: [PATCH] url allow --- app/api/controller/Allow.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/api/controller/Allow.php b/app/api/controller/Allow.php index 67a00f2..2c71f8e 100644 --- a/app/api/controller/Allow.php +++ b/app/api/controller/Allow.php @@ -21,6 +21,10 @@ class Allow result([], '', 10000);die; } + if (strpos($get['url'], '/home/blank') !== false) { + result([], '', 10000);die; + } + if(!in_array($get['id'],$allow_ids)){ //获取