fix(登出): oidc宕机后无法退出系统

This commit is contained in:
fit2cloud-chenyw
2022-10-26 19:24:19 +08:00
parent 0cb0e3ff79
commit ee32305816
6 changed files with 57 additions and 9 deletions

View File

@@ -18,14 +18,16 @@ export function getInfo(token) {
export function logout() {
return request({
url: '/api/auth/logout',
method: 'post'
method: 'post',
hideMsg: true
})
}
export function deLogout() {
return request({
url: '/api/auth/deLogout',
method: 'post'
method: 'post',
hideMsg: true
})
}