|
@@ -27,8 +27,9 @@ public class WebAppConfig implements WebMvcConfigurer {
|
|
@Override
|
|
@Override
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
registry.addInterceptor(ucenterInterceptor).addPathPatterns("/**")
|
|
registry.addInterceptor(ucenterInterceptor).addPathPatterns("/**")
|
|
- .excludePathPatterns("/**/sso/**","/**/app/**","/test/**");
|
|
|
|
- registry.addInterceptor(appInterceptor).addPathPatterns("/**/app/**");
|
|
|
|
|
|
+ .excludePathPatterns("/**/sso/**","/app/**","/test/**");
|
|
|
|
+
|
|
|
|
+ registry.addInterceptor(appInterceptor).addPathPatterns("/app/**");
|
|
WebMvcConfigurer.super.addInterceptors(registry);
|
|
WebMvcConfigurer.super.addInterceptors(registry);
|
|
}
|
|
}
|
|
|
|
|