|
|
|
|
@ -34,7 +34,7 @@ public class InterceptorConfig implements WebMvcConfigurer {
|
|
|
|
|
.excludePathPatterns("/login") |
|
|
|
|
.excludePathPatterns("/auth/self") |
|
|
|
|
.excludePathPatterns("/file/stream/**", "/templates/**") |
|
|
|
|
.excludePathPatterns("/score/police", "/score/depart") |
|
|
|
|
.excludePathPatterns("/score/**") |
|
|
|
|
.excludePathPatterns(List.of("/doc.html", "/webjars/**", "/favicon.ico", "/v3/api-docs/**")); |
|
|
|
|
|
|
|
|
|
registry.addInterceptor(new ApiInterceptor()) |
|
|
|
|
|