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')) { //用户所在权限组及所拥有的权限 // 执行查询