From c980edafe5bf00f9cfe5d999896bb3bb971c8943 Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期三, 10 九月 2025 19:49:28 +0800
Subject: [PATCH] ID1766-暂存

---
 src/utils/httpApi.ts |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/utils/httpApi.ts b/src/utils/httpApi.ts
index d8f0c2e..632b95f 100644
--- a/src/utils/httpApi.ts
+++ b/src/utils/httpApi.ts
@@ -93,4 +93,22 @@
     } catch (error) {
         throw error;
     }
+}
+
+/**
+ * 推出登录
+ * @param deviceCode 
+ * @returns 
+ */
+export const logoutForSubScreen = async(deviceCode: string) => {
+    try {
+        const response = await axios.post(`${apiBaseUrl}/user/info/logoutForSubScreen`, { deviceCode }, {
+            headers: {
+                'Content-Type': 'application/x-www-form-urlencoded'
+            }
+        });
+        return response.data
+    } catch (error) {
+        throw error;
+    }
 }
\ No newline at end of file

--
Gitblit v1.8.0