From 656696be4b70513e94f1341db8d1c2d3f43b3e6d Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Wed, 13 Jul 2022 09:18:47 +0800
Subject: [PATCH] 登录跳转首页
---
src/api/login/index.ts | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/api/login/index.ts b/src/api/login/index.ts
index 0d27058..0cd50c5 100644
--- a/src/api/login/index.ts
+++ b/src/api/login/index.ts
@@ -16,11 +16,10 @@
});
},
// v1
- signOut: (params: object) => {
+ signOut: () => {
return request({
- url: '/user/signOut',
- method: 'post',
- data: params
+ url: '/auth/logout',
+ method: 'post'
});
}
};
--
Gitblit v1.9.2