摘要: 1.5 版本 先写个拦截器,跟xml配置方式一样,然后将拦截器加入spring容器管理 。接着创建 配置文件类 继承 WebMvcConfigurerAdapter 类,重写父类方法addInterceptors @Component public class MyInterceptor imple 阅读全文
posted @ 2018-11-16 10:14 稳不住 阅读(995) 评论(0) 推荐(0) 编辑