From d5405d65eecf1da6580b326ee457784576e0f53d Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 7 Apr 2023 16:54:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9D=83=E9=99=90=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/middleware/Auth.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/admin/middleware/Auth.php b/app/admin/middleware/Auth.php index 75dc37d..04936f0 100644 --- a/app/admin/middleware/Auth.php +++ b/app/admin/middleware/Auth.php @@ -65,8 +65,6 @@ class Auth */ protected function checkAuth($controller, $pathInfo, $action, $uid) { - return true; - //Cache::delete('RulesSrc' . $uid); if (!Cache::get('RulesSrc' . $uid) || !Cache::get('RulesSrc0')) { //用户所在权限组及所拥有的权限 // 执行查询