feat: There is no way the add white list

This commit is contained in:
super_liu
2021-10-14 16:18:51 +08:00
parent 5506e06a64
commit 28391e6cc2
@@ -39,6 +39,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
addInterceptor.excludePathPatterns("/api/sys/user/getById");
addInterceptor.excludePathPatterns("/api/person/userInfo/getByUserInfoCode");
addInterceptor.excludePathPatterns("/api/att/attFile/upload");
addInterceptor.excludePathPatterns("/api/sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel");
// 添加自定义拦截器,并拦截对应 url
addInterceptor.addPathPatterns("/**");