feat: 版本管理接口改动
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
import request from "../base/request";
|
import request from "../base/request";
|
||||||
import { proUrl } from "../base/baseUrl";
|
|
||||||
import { useAppStore } from "@/store";
|
import { useAppStore } from "@/store";
|
||||||
|
|
||||||
export const getServiceUrl = async (versionValue) => {
|
export const getServiceUrl = async (versionValue) => {
|
||||||
const apiUrl = proUrl + "/hotelBiz/versionManager/getInfo";
|
const apiUrl = "/hotelBiz/versionManager/getInfo";
|
||||||
const res = await request.post(apiUrl, { versionValue: versionValue });
|
const res = await request.post(apiUrl, { versionValue: versionValue });
|
||||||
if (res && res.code == 0 && res.data) {
|
if (res && res.code == 0 && res.data) {
|
||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { devUrl, wssDevUrl } from "./baseUrl";
|
|||||||
import { getServiceUrl } from "../api/GetServiceUrlApi";
|
import { getServiceUrl } from "../api/GetServiceUrlApi";
|
||||||
|
|
||||||
/// 版本号, 每次发版本前增加
|
/// 版本号, 每次发版本前增加
|
||||||
const versionValue = "1.1.1";
|
const versionValue = "1.1.2";
|
||||||
|
|
||||||
/// 是否是测试版本, 测试版本为true, 发布版本为false
|
/// 是否是测试版本, 测试版本为true, 发布版本为false
|
||||||
const developVersion = true;
|
const developVersion = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user