feat: update

This commit is contained in:
landaiqing
2024-06-05 02:05:26 +08:00
parent 213d9bc607
commit ef26ed4ba5

View File

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