登录失效
This commit is contained in:
@@ -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 }
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user