springboot excludepathpatterns未生效

问题描述:当我设置了HandlerInterceptor拦截器,并放入WebMvcConfigurerAdapter中后,我设置的excludepathpatterns未生效

先看错误代码:

接着看正确代码:

 

猜你喜欢

转载自blog.csdn.net/qq_36666181/article/details/81093597