From 9035af84aec4dbeee440f0d3b42b2e4e99ba637b Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Tue, 7 Dec 2021 17:35:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=BA=BF=E4=B8=8A=E5=9F=9F?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/api.js | 2 ++ src/views/Home.vue | 1 + 2 files changed, 3 insertions(+) diff --git a/src/utils/api.js b/src/utils/api.js index 11059a8..da514af 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -16,6 +16,8 @@ if(isKd){ host = 'http://124.71.12.62'; // 巢湖版 } else if (url.includes('39.108.250.202')) { host = 'http://39.108.250.202:9000'; // 中台测试服 + } else if (url.includes('www.huorantech.cn')) { + host = 'http://www.huorantech.cn:9000'; // 中台线上 } else { console.log("本地-中台测试服"); host = 'http://39.108.250.202:9000'; diff --git a/src/views/Home.vue b/src/views/Home.vue index f6ba220..bed6138 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -117,6 +117,7 @@ export default { console.log('当前地址=', location.host); console.log("token=", this.$route.query.token) console.log("systemId=", this.$route.query.systemId) + // sessionStorage.setItem('token',this.$route.query.token) this.$route.query.token && this.$store.commit('setParam', { token: atob(decodeURI(this.$route.query.token)), referrer: atob(decodeURI(this.$route.query.referrer))