Commit 061b0db3 by shenjunjie

Merge branch 'release' into 'master'

Release

See merge request !275
parents 45307e45 c90e50f6
......@@ -22,6 +22,6 @@ public class InterceptorConfig implements WebMvcConfigurer {
@Override
public void addInterceptors(InterceptorRegistry registry) {
// 自定义拦截器,添加拦截路径和排除拦截路径
registry.addInterceptor(mainAuthInterceptor).addPathPatterns("/common/**", "/app/**", "/admin/**", "/mobile/**").excludePathPatterns("/app/event/detail/**");
registry.addInterceptor(mainAuthInterceptor).addPathPatterns("/**").excludePathPatterns("/app/event/detail/**");
}
}
......@@ -650,7 +650,7 @@ public class Tools {
}
public static boolean tokenEmpty(String token) {
return null == token || Objects.equals("undefined", token);
return null == token || Objects.equals("undefined", token) || Objects.equals("null", token);
}
/**
......
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