mirror of
https://github.com/1024-lab/smart-admin.git
synced 2025-09-09 19:29:19 +00:00
v3.0.1
This commit is contained in:
@@ -109,6 +109,11 @@ public class AdminInterceptor implements HandlerInterceptor {
|
||||
return true;
|
||||
}
|
||||
|
||||
// 如果是超级管理员的话,不需要校验权限
|
||||
if(requestEmployee.getAdministratorFlag()){
|
||||
return true;
|
||||
}
|
||||
|
||||
SaStrategy.instance.checkMethodAnnotation.accept(method);
|
||||
|
||||
} catch (SaTokenException e) {
|
||||
|
Reference in New Issue
Block a user