双token(未做完)
This commit is contained in:
@@ -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 })
|
||||
}
|
||||
Reference in New Issue
Block a user