如何在SpringBoot项目中使用拦截器
摘要:
相比springmvc,springboot中拦截器不需要在xml中配置,只需定义拦截器类 implements HandlerInterceptor 和拦截器拦截路径的配置类extends WebMvcConfigurerAdapter 1.SessionInterceptor 2.Session 阅读全文
posted @ 2018-02-08 17:01 tangou 阅读(12700) 评论(0) 推荐(0) 编辑