|
|
@ -4,26 +4,27 @@ |
|
|
|
const url = location.host; |
|
|
|
const url = location.host; |
|
|
|
const isDev = process.env.NODE_ENV === 'development'; // 开发环境
|
|
|
|
const isDev = process.env.NODE_ENV === 'development'; // 开发环境
|
|
|
|
const isTest = url.includes('39.108.250.202'); //测试服
|
|
|
|
const isTest = url.includes('39.108.250.202'); //测试服
|
|
|
|
const isPro = url.includes('120.78.127.12'); //正式服
|
|
|
|
const isPro = url.includes('124.71.12.62'); //正式服
|
|
|
|
|
|
|
|
|
|
|
|
let jumpPath = ""; |
|
|
|
let jumpPath = ""; |
|
|
|
let host = ""; |
|
|
|
let host = ""; |
|
|
|
if (isDev) { |
|
|
|
if (isDev) { |
|
|
|
// jumpPath = "http://39.108.250.202/judgmentPoint/";
|
|
|
|
// jumpPath = "http://124.71.12.62/judgmentPoint/";
|
|
|
|
jumpPath = "http://192.168.31.254:8087/"; // 本地调试-需要启动本地判分点系统
|
|
|
|
jumpPath = "http://39.108.250.202/judgmentPoint/"; |
|
|
|
|
|
|
|
// jumpPath = "http://192.168.31.254:8087/"; // 本地调试-需要启动本地判分点系统
|
|
|
|
// host = "http://39.108.250.202:9000";
|
|
|
|
// host = "http://124.71.12.62:9000";//线上
|
|
|
|
host = "http://39.108.250.202:9000";//线上
|
|
|
|
host = "http://39.108.250.202:9000";//测试
|
|
|
|
// host = 'http://192.168.31.151:9000'// 榕
|
|
|
|
// host = 'http://192.168.31.151:9000'// 榕
|
|
|
|
// host = 'http://192.168.31.125:9000'// 坤
|
|
|
|
// host = 'http://192.168.31.125:9000'// 坤
|
|
|
|
// host = 'http://192.168.31.137:9000'// 赓
|
|
|
|
// host = 'http://192.168.31.137:9000'// 赓
|
|
|
|
} else if (isTest) { |
|
|
|
} else if (isTest) { |
|
|
|
|
|
|
|
// jumpPath = "http://124.71.12.62/judgmentPoint/";
|
|
|
|
jumpPath = "http://39.108.250.202/judgmentPoint/"; |
|
|
|
jumpPath = "http://39.108.250.202/judgmentPoint/"; |
|
|
|
host = "http://39.108.250.202:9000"; |
|
|
|
host = "http://39.108.250.202:9000"; |
|
|
|
// host = "http://39.108.250.202:9000";//线上
|
|
|
|
// host = "http://124.71.12.62:9000";//线上
|
|
|
|
} else if (isPro) { |
|
|
|
} else if (isPro) { |
|
|
|
jumpPath = ""; |
|
|
|
jumpPath = "http://124.71.12.62/judgmentPoint/"; |
|
|
|
host = ""; |
|
|
|
host = "http://124.71.12.62:9000";//线上
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|