登录失效

This commit is contained in:
sjl
2025-02-07 14:28:15 +08:00
parent 6065fd1f67
commit 9206be2562
6 changed files with 55 additions and 25 deletions

View File

@@ -30,7 +30,11 @@ export const getDictList = () =>{
return http.get<Dict>('/dictData/dictDataCache')
}
// token刷新
//token刷新
export const refreshToken = () => {
return http.post<Login.ResLogin>(`${rePrefix}/refreshToken`, {},{ loading: false })
}
return http.get<Login.ResLogin>(`${rePrefix}/refreshToken`,
{},
{ loading: false }
)
}