spring boot 2.0 WebMvcConfigurerAdapter过时解决方法
@Configuration
public class WebAppConfig implements WebMvcConfigurer{
@Bean
public HandlerInterceptor getLoginInterceptor(){
return new LoginInterceptor();
}
@Override
pu...
转载
2018-05-23 17:03:27 ·
6513 阅读 ·
2 评论