Merge remote-tracking branch 'base-version/test' into dev

This commit is contained in:
chenbowen
2026-01-09 15:32:39 +08:00
4 changed files with 16 additions and 6 deletions

View File

@@ -21,9 +21,11 @@ public class ZtBusinessAutoConfiguration implements WebMvcConfigurer {
public void addInterceptors(InterceptorRegistry registry) {
// 拦截所有 url统一进行业务与文件上传请求头校验
registry.addInterceptor(new BusinessHeaderInterceptor())
.addPathPatterns("/**");
.addPathPatterns("/**")
.excludePathPatterns("/get*");
registry.addInterceptor(new FileUploadHeaderInterceptor())
.addPathPatterns("/**");
.addPathPatterns("/**")
.excludePathPatterns("/get*");
}
@Bean