diff --git a/mallinkCApi/src/main/java/com/iformall/interceptor/AuthorizationInterceptor.java b/mallinkCApi/src/main/java/com/iformall/interceptor/AuthorizationInterceptor.java index 4fb8aeb29..ed7cac9ac 100644 --- a/mallinkCApi/src/main/java/com/iformall/interceptor/AuthorizationInterceptor.java +++ b/mallinkCApi/src/main/java/com/iformall/interceptor/AuthorizationInterceptor.java @@ -54,7 +54,7 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter { } //token为空 - if(StringUtils.isBlank(token)){ + if(StringUtils.isBlank(token) || "null".equals(token) || "undefined".equals(token)){ throw new MallinkException(ErrorCode.NET_TOKEN_EMPTY); }