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))