|
|
|
@ -6,7 +6,7 @@ const isDev = process.env.NODE_ENV === "development"; // 开发环境 |
|
|
|
|
const isHh = url.includes("10.196.131.73"); //是否河海版本
|
|
|
|
|
const isCH = url.includes("124.71.12.62"); //是否巢湖版本
|
|
|
|
|
const isPro = url.includes("occupationlab.com"); //是否职站生产
|
|
|
|
|
const isTest = url.includes('121.37.12.51'); //是否中台测试服
|
|
|
|
|
const isTest = url.includes('118.31.167.228'); //是否中台测试服
|
|
|
|
|
const isZxy = url.includes('izhixinyun'); //是否是智信云
|
|
|
|
|
const isSq = url.includes('10.20.100.204'); // 商丘
|
|
|
|
|
|
|
|
|
@ -26,11 +26,11 @@ if (isDev) { |
|
|
|
|
// 本地
|
|
|
|
|
systemPath = `http://${location.hostname}:8093` |
|
|
|
|
sandPath = `http://${location.hostname}:9520` |
|
|
|
|
uploadURL = `http://121.37.12.51/` |
|
|
|
|
host = "http://121.37.12.51/"; // 测试服
|
|
|
|
|
uploadURL = `http://118.31.167.228/` |
|
|
|
|
host = "http://118.31.167.228/"; // 测试服
|
|
|
|
|
// host = 'https://www.occupationlab.com/' // 正式服
|
|
|
|
|
const ip = localStorage.getItem('localIp') |
|
|
|
|
const ips = ['http://192.168.31.217:9000/', 'http://192.168.31.51:9000/', 'https://izhixinyun.com/'] |
|
|
|
|
const ips = ['http://192.168.31.217:9000/', 'http://192.168.31.51:9000/', 'http://118.31.167.228/'] |
|
|
|
|
host = ips[+ip] |
|
|
|
|
// host = 'http://192.168.31.51:9000/'
|
|
|
|
|
} else if (isSq) { |
|
|
|
|