|
|
@@ -16,6 +16,7 @@ public class ConfigAdapter implements WebMvcConfigurer {
|
|
|
SecurityInterceptor securityInterceptor() {
|
|
|
return new SecurityInterceptor();
|
|
|
}
|
|
|
+
|
|
|
@Override
|
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
|
|
registry.addInterceptor(securityInterceptor())
|
|
|
@@ -24,6 +25,6 @@ public class ConfigAdapter implements WebMvcConfigurer {
|
|
|
.addPathPatterns("/Connector/*").excludePathPatterns("/Connector/getListDataConnector")
|
|
|
.excludePathPatterns("/Connector/getConnectorGroup")
|
|
|
.excludePathPatterns("/Connector/getConnectorData");
|
|
|
- logger.info("进入拦截器");
|
|
|
+ logger.info("进入全局拦截器");
|
|
|
}
|
|
|
}
|