From 7b42057b713257f7716ed6a2104469b7b598ea4a Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期二, 12 八月 2025 10:15:03 +0800
Subject: [PATCH] Merge branch 'ID1975-副屏自动更新' into test
---
src/utils/httpApi.ts | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/utils/httpApi.ts b/src/utils/httpApi.ts
index 0cbfeef..d8f0c2e 100644
--- a/src/utils/httpApi.ts
+++ b/src/utils/httpApi.ts
@@ -82,9 +82,9 @@
* 获取副屏最新的版本号Api
* @returns
*/
-export const getServiceVersionApi = async() => {
+export const getServiceVersionApi = async(version: string) => {
try {
- const response = await axios.post(`${apiBaseUrl}/system/version/subscreen/showVersionDiff`, {}, {
+ const response = await axios.post(`${apiBaseUrl}/system/version/subscreen/showVersionDiff`, { version }, {
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
}
--
Gitblit v1.8.0