From 31a48e3a3c7d4e37a05ef43fa4b65c84989cc353 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期四, 29 八月 2024 09:26:25 +0800 Subject: [PATCH] select role --- src/api/user.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/api/user.ts b/src/api/user.ts index 498bf1b..6a0a01c 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -16,7 +16,7 @@ } export function logout() { - return axios.post<LoginRes>('/api/user/logout'); + return axios.post<LoginRes>('/base/logout'); } export function getUserInfo() { -- Gitblit v1.8.0