From 9dbaf2dc67febaf4187aeb710c0c038f7c2bf15e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 11 Nov 2024 19:46:45 +0800
Subject: [PATCH] 页面跳转方式调整
---
src/api/user.js | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/api/user.js b/src/api/user.js
index 69c7ebd..c96cec6 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -19,4 +19,11 @@
scope: 'all',
type,
},
+ })
+
+export const logout = () =>
+ request({
+ url: '/blade-auth/oauth/logout',
+ method: 'get',
+ authorization: false,
})
\ No newline at end of file
--
Gitblit v1.9.3