双token(未做完)

This commit is contained in:
caozehui
2025-02-07 10:39:30 +08:00
parent c16560a0ca
commit 6065fd1f67
8 changed files with 29 additions and 14 deletions

View File

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