Commit aeff17b8 authored by 赵啸非's avatar 赵啸非

添加资源自动刷新获取

parent 21e89310
......@@ -91,7 +91,7 @@ public class AuthUserInterceptor extends BaseInterceptor {
private boolean checkAuth(HttpServletRequest request, String requestUrl, String securityKey) throws Exception {
int code = requestUrl.hashCode() & (Integer.MAX_VALUE - 1);
UserEntity loginUser = (UserEntity) authTokenService.getLoginUser(request);
IUser loginUser = authTokenService.getLoginUser(request);
if (ObjectUtils.isEmpty(loginUser)) return false;
String menuUrl = loginUser.getMenuUrl();
if (ObjectUtils.isEmpty(menuUrl)) return false;
......
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