add:增加数据下发白名单

This commit is contained in:
2510220824
2021-10-13 15:35:05 +08:00
parent 4d6c48a85e
commit 3fcd7e90f6
@@ -38,6 +38,11 @@ public class WebMvcConfig implements WebMvcConfigurer {
addInterceptor.excludePathPatterns("/api/lawss/activiti/get_verify_by_instance");
addInterceptor.excludePathPatterns("/api/sys/user/getById");
addInterceptor.excludePathPatterns("/api/person/userInfo/getByUserInfoCode");
//pcms项目数据下发开放接口
addInterceptor.excludePathPatterns("/api/sarStandProjectLibrary/save");
addInterceptor.excludePathPatterns("/slrs/sar-stand-project-team/save");
//tc模块结构单元数据
addInterceptor.excludePathPatterns("/api/sarModelTree/save");
// 添加自定义拦截器,并拦截对应 url
addInterceptor.addPathPatterns("/**");