修改登出地址

This commit is contained in:
zhult13
2022-11-10 16:03:39 +08:00
parent f57fcc1634
commit 0e1801e129
4 changed files with 30 additions and 15 deletions
@@ -26,8 +26,8 @@ export async function fetchMenuData(options?: { [key: string]: any }) {
/** 退出登录接口 POST /api/login/outLogin */
export async function outLogin(options?: { [key: string]: any }) {
return request<Record<string, any>>('/api/login/outLogin', {
method: 'POST',
return request<Record<string, any>>('/api-uaa/oauth/remove/token', {
method: 'GET',
...(options || {}),
});
}