|
|
@ -3,12 +3,7 @@ import util from '@/util' |
|
|
|
const isHh = location.host.includes('10.196.131.73') //是否是河海版本
|
|
|
|
const isHh = location.host.includes('10.196.131.73') //是否是河海版本
|
|
|
|
const isBeta = process.env.NODE_ENV === 'development' || location.host.includes('39.108.250.202') //是否是职站测试
|
|
|
|
const isBeta = process.env.NODE_ENV === 'development' || location.host.includes('39.108.250.202') //是否是职站测试
|
|
|
|
|
|
|
|
|
|
|
|
let host = location.origin + '/' |
|
|
|
const host = location.origin + ':9000/' |
|
|
|
// 测试环境是9000,所以要特殊判断
|
|
|
|
|
|
|
|
if(isBeta) { |
|
|
|
|
|
|
|
host = 'http://39.108.250.202:9000/' |
|
|
|
|
|
|
|
// host = 'http://192.168.31.151:9000'
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* python8个系统的id和名称 |
|
|
|
* python8个系统的id和名称 |
|
|
|
* id即systemId,从cookie里取 |
|
|
|
* id即systemId,从cookie里取 |
|
|
|