|
@@ -20,7 +20,7 @@ public class AppContextConfig implements WebMvcConfigurer {
|
|
|
InterceptorRegistration registration1 = registry.addInterceptor(new TraceIdInterceptor());
|
|
|
registration1.addPathPatterns("/**");
|
|
|
|
|
|
- registry.addInterceptor(tokenInterceptor).addPathPatterns("/adm/**");
|
|
|
+ registry.addInterceptor(tokenInterceptor).order(Integer.MAX_VALUE).addPathPatterns("/adm/**").excludePathPatterns("/adm/getUserInfo");
|
|
|
|
|
|
}
|
|
|
}
|