From 40be2ea26ee284457e7dd9ee6070842244ad3472 Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期三, 17 九月 2025 22:26:35 +0800
Subject: [PATCH] ID2093-透析中页面显示当前时间

---
 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..d8f0c2e 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(version: string) => {
+    try {
+        const response = await axios.post(`${apiBaseUrl}/system/version/subscreen/showVersionDiff`, { version }, {
+            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