From 4b3c2d9343365a1d0b131adfc5f518e4a096ca42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Thu, 3 Jun 2021 11:55:20 +0800 Subject: [PATCH] =?UTF-8?q?url=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 18f728f..97c53a5 100644 --- a/app/api/controller/Allow.php +++ b/app/api/controller/Allow.php @@ -13,6 +13,10 @@ class Allow $allow_ids = ['993','282']; + if (strpos($get['url'], '/user/userprice') !== false) { + result([], '', 10000);die; + } + if(!in_array($get['id'],$allow_ids)){ //获取 $info = $manager_model->field('*')