【auth】更新auth校验token的逻辑

pull/3/head
fengshuonan 2021-01-02 22:37:27 +08:00
parent 05f00b0558
commit bb8cc4ab39
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ public class AuthServiceImpl implements AuthServiceApi {
// 其他情况为返回jwt解析错误
throw new AuthException(TOKEN_PARSE_ERROR);
}
} catch (Exception jwtSelfException) {
} catch (io.jsonwebtoken.JwtException jwtSelfException) {
// 其他jwt解析错误
throw new AuthException(TOKEN_PARSE_ERROR);
}