From 3c924d71affd630b2411b68061d119f8f2a6d6a2 Mon Sep 17 00:00:00 2001 From: XingChuan <m17600301067@163.com> Date: 星期四, 27 五月 2021 15:20:34 +0800 Subject: [PATCH] 所有报表数据提取出来并更换数据请求方式 --- src/api/host.js | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/api/host.js b/src/api/host.js index 952df8f..04d5a4f 100644 --- a/src/api/host.js +++ b/src/api/host.js @@ -1,6 +1,13 @@ /** * 鏈嶅姟HOST瀹氫箟 */ -export const $HOST = process.env.VUE_APP_API_HOST -// map鏈嶅姟 -export const $HOST_MAP_SERVICE = process.env.VUE_APP_MAP_SERVICE +import { getSchemeHost } from '../utils/tools' + +export const $HOST = getSchemeHost() + +// 绠$嚎鍒嗘瀽-绾夸笂 +// export const $HOSTANALYSE = 'http://xearth.cn:6202' +export const $HOSTANALYSE = 'http://10.238.235.179:6202' + +// 绠$嚎鍒嗘瀽-鏈湴 +// export const $HOSTANALYSE = 'http://10.238.105.124:8089' -- Gitblit v1.8.0