From 8139288979acc708583444f3483fe8dce7e775ce Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期二, 26 八月 2025 12:46:52 +0800
Subject: [PATCH] Merge branch 'master' of http://dh.leon056.com:7499/r/data2/Single_application into ID1956-已签到页面改版
---
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