新增线上域名

master
e 3 years ago
parent c1ef607935
commit 9035af84ae
  1. 2
      src/utils/api.js
  2. 1
      src/views/Home.vue

@ -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';

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

Loading…
Cancel
Save