!170 Expiration time should not set on the refresh token

Merge pull request !170 from 呵呵大/N/A
pull/177/head
芋道源码 2023-06-17 11:02:27 +00:00 committed by Gitee
commit 1e49a8eaf0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export const getRefreshToken = () => {
// 设置token
export const setToken = (token: TokenType) => {
wsCache.set(RefreshTokenKey, token.refreshToken, { exp: token.expiresTime })
wsCache.set(RefreshTokenKey, token.refreshToken)
wsCache.set(AccessTokenKey, token.accessToken)
}