From e65a116f1ff1d9d99a093f76a9b02a6d27bfb35e Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期二, 29 四月 2025 08:47:50 +0800 Subject: [PATCH] 修改 --- src/api/login/index.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/login/index.ts b/src/api/login/index.ts index 61d862f..d0e6b48 100644 --- a/src/api/login/index.ts +++ b/src/api/login/index.ts @@ -10,7 +10,7 @@ // v1 signIn: (params: object) => { return request({ - url: import.meta.env.VITE_API_URL + '/auth/login', + url: import.meta.env.VITE_API_URL + '/account/auth/login', method: 'post', data: params }); @@ -18,8 +18,8 @@ // v1 signOut: () => { return request({ - url: import.meta.env.VITE_API_URL + '/auth/logout', - method: 'post' + url: import.meta.env.VITE_API_URL + '/account/auth/logout', + method: 'get' }); }, // 更改密码 -- Gitblit v1.9.2