From b0f23e39b2198bc35d84235d817bc970775961a6 Mon Sep 17 00:00:00 2001 From: yangjie <1179743470@qq.com> Date: Fri, 4 Jun 2021 13:37:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=89=80=E6=9C=89=E5=AD=98=E5=9C=A8us?= =?UTF-8?q?erId=E7=9A=84=E8=AF=B7=E6=B1=82=E8=BF=9B=E8=A1=8C=E9=89=B4?= =?UTF-8?q?=E6=9D=83,=20userId=E4=B8=BAnul=E6=88=96=E6=97=A0=E6=97=B6?= =?UTF-8?q?=E6=94=BE=E8=BF=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yipin/liuwanr/filter/AuthInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } }