feat: 版本管理接口改动

This commit is contained in:
2026-04-30 11:09:09 +08:00
parent 2cbfae6833
commit 3fe099c3b0
2 changed files with 2 additions and 3 deletions

View File

@@ -1,9 +1,8 @@
import request from "../base/request";
import { proUrl } from "../base/baseUrl";
import { useAppStore } from "@/store";
export const getServiceUrl = async (versionValue) => {
const apiUrl = proUrl + "/hotelBiz/versionManager/getInfo";
const apiUrl = "/hotelBiz/versionManager/getInfo";
const res = await request.post(apiUrl, { versionValue: versionValue });
if (res && res.code == 0 && res.data) {
const appStore = useAppStore();

View File

@@ -4,7 +4,7 @@ import { devUrl, wssDevUrl } from "./baseUrl";
import { getServiceUrl } from "../api/GetServiceUrlApi";
/// 版本号, 每次发版本前增加
const versionValue = "1.1.1";
const versionValue = "1.1.2";
/// 是否是测试版本, 测试版本为true 发布版本为false
const developVersion = true;