|
|
@ -9,6 +9,6 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
|
public class InterceptorConfig implements WebMvcConfigurer {
|
|
|
|
public class InterceptorConfig implements WebMvcConfigurer {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
|
registry.addInterceptor(new AInterceptor()).addPathPatterns("/**");
|
|
|
|
//registry.addInterceptor(new AInterceptor()).addPathPatterns("/**");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|