摘要: 在spring boot1.0+,我们可以使用 WebMvcConfigurerAdapter 来扩展springMVC的功能,其中自定义的拦截器并不会拦截静态资源(js、css等)。 在spring boot2.0+以后,WebMvcConfigurerAdapter就过时了,目前通过继承 Web 阅读全文
posted @ 2019-03-07 11:37 SweetLove 阅读(874) 评论(1) 推荐(1) 编辑