From 6ecaed01cf576560a31ae960d0cdf1473e03c6b8 Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期一, 11 八月 2025 15:40:26 +0800
Subject: [PATCH] ID1975-自动更新流程zancun

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

diff --git a/src/utils/httpApi.ts b/src/utils/httpApi.ts
index 4cbc6d7..0cbfeef 100644
--- a/src/utils/httpApi.ts
+++ b/src/utils/httpApi.ts
@@ -76,4 +76,21 @@
     } catch (error) {
         throw error;
     }
+}
+
+/**
+ * 获取副屏最新的版本号Api
+ * @returns 
+ */
+export const getServiceVersionApi = async() => {
+    try {
+        const response = await axios.post(`${apiBaseUrl}/system/version/subscreen/showVersionDiff`, {}, {
+            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