feat: update
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user