mirror of https://gitee.com/stylefeng/roses
【auth】更新auth校验token的逻辑
parent
05f00b0558
commit
bb8cc4ab39
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue