feat: 新版本的提交改了环境的配置
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user