From fa0866fc8a4f200d491acfa0ad9e7b1e96ff37a1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 01 Nov 2024 20:03:40 +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