|
@@ -418,8 +418,7 @@ public class UserFacade extends UserServiceImpl {
|
|
|
|
|
|
//验证刷新令牌有效性
|
|
|
if (!tokenFacade.verifyToken(refreshToken, 2)) {
|
|
|
- throw new CommonException(CommonErrorCode.PARAM_IS_ERROR,
|
|
|
- "不是被允许的刷新令牌");
|
|
|
+ throw new CommonException(CommonErrorCode.TOKEN_PAST);
|
|
|
}
|
|
|
|
|
|
JWT jwt = authServiceClient.refreshToken("Basic dWFhLXNlcnZpY2U6MTIzNDU2", "refresh_token", refreshToken);
|