bug: 修改模板无法下载和数据导出问题

This commit is contained in:
wxyclub
2023-11-08 14:52:22 +08:00
parent 014c29e52a
commit 81dff4f27a
@@ -196,8 +196,18 @@ public class WebMvcConfig implements WebMvcConfigurer {
// 政策课题导出接口
addInterceptor.excludePathPatterns("/api/lawss/sarLawsTopic/exportLawsTopicInfo");
// 政策资料导出接口
addInterceptor.excludePathPatterns("/api/lawss/sarLawsInformation/exportLawsInformationInfo");
// 内外部会议模板下载
addInterceptor.excludePathPatterns("/api/lawss/insideOutsideMeeting/exportTemplateFile");
// 政策课题模板下载
addInterceptor.excludePathPatterns("/api/lawss/sarLawsTopic/exportTemplateFile");
// 政策资料模板下载
addInterceptor.excludePathPatterns("/api/lawss/sarLawsInformation/exportTemplateFile");
// // 添加自定义拦截器,并拦截对应 url
addInterceptor.addPathPatterns("/**");
}