1.创建拦截器 实现接口HandlerInterceptor ctrl+i重写方法 2.添加MvcConfig 默认拦截所有请求 3.LoginInterceptor注入问题 在Mvc拦截器中进行有参注入