admin auto update for not check power when method start with json

This commit is contained in:
xxb
2021-08-18 11:00:03 +08:00
committed by lccsw
parent af757ffb5b
commit 5df1a87637
+2
View File
@@ -161,6 +161,8 @@ class Auth {
if(!$role['status'])
{
return $this->returnMsg('您的权限已被禁用');
} elseif('json' == $methods[0]){
//弹框等公共搜索使用,无需菜单权限校验
}
else
{