wuheng 1 rok temu
rodzic
commit
5515fc776d

+ 1 - 1
common/src/main/java/com/koobietech/eas/common/utils/JwtManager.java

@@ -70,7 +70,7 @@ public class JwtManager {
             jwtUserDto.setUsername(verify.getClaim("user").asString());
             jwtUserDto.setType(UserType.valueOf(verify.getClaim("type").asString()));
         } catch ( JWTVerificationException e){
-            throw new EasException("token 不正确!");
+            //throw new EasException("token 不正确!");
         }
         return jwtUserDto;
     }