feat: 新版本的提交改了环境的配置

This commit is contained in:
2026-06-17 18:24:18 +08:00
parent bae06f876e
commit c9ed0d280b
2 changed files with 4 additions and 3 deletions

View File

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

View File

@@ -4,10 +4,10 @@ import { devUrl, wssDevUrl } from "./baseUrl";
import { getServiceUrl } from "../api/GetServiceUrlApi";
/// 版本号, 每次发版本前增加
const versionValue = "1.1.2";
const versionValue = "1.1.3";
/// 是否是测试版本, 测试版本为true 发布版本为false
const developVersion = true;
const developVersion = false;
// 获取服务地址
const getEvnUrl = async () => {