From 6e1be6afed910d217199278bb3f89d8922dfc5af Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: Wed, 03 Aug 2022 19:17:56 +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