diff --git a/src/main/java/com/yipin/liuwanr/filter/AuthInterceptor.java b/src/main/java/com/yipin/liuwanr/filter/AuthInterceptor.java index 8e68ef3..70caa25 100644 --- a/src/main/java/com/yipin/liuwanr/filter/AuthInterceptor.java +++ b/src/main/java/com/yipin/liuwanr/filter/AuthInterceptor.java @@ -45,7 +45,7 @@ public class AuthInterceptor implements HandlerInterceptor { if (!StringUtils.isEmpty(userId)){ return userId.equals(loginStatus); }else { - return false; + return true; } } }