feat: update

This commit is contained in:
landaiqing
2024-06-05 02:07:52 +08:00
parent ef26ed4ba5
commit 7327aa5ac1

View File

@@ -38,9 +38,9 @@ public class GlobalConfig extends WebMvcConfigurationSupport {
return converter; return converter;
} }
@Override // @Override
protected void addInterceptors(InterceptorRegistry registry) { // protected void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new LoginInterceptor()); // registry.addInterceptor(new LoginInterceptor())
// .addPathPatterns("/**").excludePathPatterns("/oauth/**","/system/**","/auth/**","/ReactRotateCaptcha/**","/sms/sendByTemplate"); // .addPathPatterns("/**").excludePathPatterns("/oauth/**","/system/**","/auth/**","/ReactRotateCaptcha/**","/sms/sendByTemplate");
} // }
} }