From a8e27900eef71eaebc1ed9e47884091821335c93 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 14 四月 2023 15:22:22 +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