修复权限错误

This commit is contained in:
mkm 2023-04-07 16:54:33 +08:00
parent 1fcf92094d
commit d5405d65ee

View File

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