admin auto update for not check power when method start with json
This commit is contained in:
@@ -161,6 +161,8 @@ class Auth {
|
||||
if(!$role['status'])
|
||||
{
|
||||
return $this->returnMsg('您的权限已被禁用');
|
||||
} elseif('json' == $methods[0]){
|
||||
//弹框等公共搜索使用,无需菜单权限校验
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user