This commit is contained in:
zhangyh
2025-10-27 15:02:56 +08:00
3 changed files with 32 additions and 13 deletions

View File

@@ -40,3 +40,10 @@ export const checkLoginStatus = (): Promise<ApiResponse<LoginResponse>> => {
meta: { responseAll: true }
})
}
export const LogOut = (): Promise<ApiResponse> => {
return request({
url: '/api/auth/logout',
method: 'get'
})
}