Commit 504627a0 by guojuxing

权限菜单刷本地缓存

parent 4f950ba7
...@@ -101,7 +101,7 @@ public class AuthInterceptor extends HandlerInterceptorAdapter { ...@@ -101,7 +101,7 @@ public class AuthInterceptor extends HandlerInterceptorAdapter {
if (menuLocaleCache == null) { if (menuLocaleCache == null) {
throw new CommonException(ErrorCode.SYSTEM_ERROR.getErrorCode(), "sorry,您无该页面的访问权限,请联系超级管理员!"); throw new CommonException(ErrorCode.SYSTEM_ERROR.getErrorCode(), "sorry,您无该页面的访问权限,请联系超级管理员!");
} }
List<MenuInfo> localeCacheData = (List<MenuInfo>) object; List<MenuInfo> localeCacheData = (List<MenuInfo>) menuLocaleCache;
//操作模块数据 //操作模块数据
Map<String, MenuInfo> moduleMap = new HashMap<>(16); Map<String, MenuInfo> moduleMap = new HashMap<>(16);
//用户操作项数据 //用户操作项数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment