From e7d9bef1b81a27b447c430a3f39bcc26a148b7ea Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 15 Nov 2024 11:15:47 +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