From 5c46e69f4753cc03a7d72524dfc76eca482bebbb Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期二, 12 八月 2025 10:13:42 +0800
Subject: [PATCH] ID1975-修改获取版本号接口
---
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