This commit is contained in:
xiangwb
2017-11-13 17:50:00 +08:00
parent 68413342a9
commit cc808c311b
9 changed files with 25 additions and 31 deletions
@@ -37,7 +37,6 @@ public class DispatcherServletConfig extends WebMvcConfigurerAdapter {
*/
@Override
public void addInterceptors(InterceptorRegistry registry) {
logger.info("addInterceptors......");
//拦截器1:登录判断
registry.addInterceptor(new LoginInterceptor()).addPathPatterns("/**");
// registry.addInterceptor(new LoginInterceptor())