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; } }