fix:license认证添加

kingbase
wangxy 10 months ago
parent 5cc10fb32f
commit 08b25ec765

@ -27,9 +27,9 @@ public class InterceptorConfig implements WebMvcConfigurer {
public void addInterceptors(InterceptorRegistry registry) {
//添加要拦截的url
registry.addInterceptor(licenseCheckInterceptor)
//registry.addInterceptor(licenseCheckInterceptor)
// 拦截的路径
.addPathPatterns("/login");
// .addPathPatterns("/login");
// 放行的路径
// .excludePathPatterns("/admin/login");
}

Loading…
Cancel
Save