소스 검색

屏蔽鉴权

wuheng 1 년 전
부모
커밋
5515fc776d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      common/src/main/java/com/koobietech/eas/common/utils/JwtManager.java

+ 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;
     }