接口拦截白名单

This commit is contained in:
zhaokaiyao@91isoft.com
2021-10-15 14:48:38 +08:00
parent 8ef4f22e24
commit ffa894865c
@@ -53,9 +53,11 @@ public class WebMvcConfig implements WebMvcConfigurer {
addInterceptor.excludePathPatterns("/api/ImportExcel/import");
//标准征求意见导出
addInterceptor.excludePathPatterns("api/slrs/sar-public-idea-all/tuallStand");
addInterceptor.excludePathPatterns("/api/slrs/sar-public-idea-all/tuallStand");
//为符合项整改导出
addInterceptor.excludePathPatterns(" api/sarStandUnqualified/sar-stand-unqualified/exportStandUnqulifiedExcel");
addInterceptor.excludePathPatterns("/api/sarStandUnqualified/sar-stand-unqualified/exportStandUnqulifiedExcel");
//文件预览
addInterceptor.excludePathPatterns("/api/att/attFile/getFileInfo");
// 添加自定义拦截器,并拦截对应 url