|
|
@ -12,33 +12,27 @@ const isTest = url.includes('39.108.250.202'); //是否中台测试服 |
|
|
|
let jumpPath = ""; |
|
|
|
let jumpPath = ""; |
|
|
|
let host = ""; |
|
|
|
let host = ""; |
|
|
|
let title = ""; |
|
|
|
let title = ""; |
|
|
|
let schoolId = null; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isHh) { |
|
|
|
if (isHh) { |
|
|
|
// 河海
|
|
|
|
// 河海
|
|
|
|
host = "http://10.196.131.73/"; |
|
|
|
host = "http://10.196.131.73/"; |
|
|
|
title = "教师管理端"; |
|
|
|
title = "教师管理端"; |
|
|
|
schoolId = 729; |
|
|
|
|
|
|
|
} else if (isCH) { |
|
|
|
} else if (isCH) { |
|
|
|
// 巢湖
|
|
|
|
// 巢湖
|
|
|
|
host = "http://120.78.127.12/"; |
|
|
|
host = "http://120.78.127.12/"; |
|
|
|
title = "教师管理端"; |
|
|
|
title = "教师管理端"; |
|
|
|
schoolId = 1006; |
|
|
|
|
|
|
|
} else if (isBeta) { |
|
|
|
} else if (isBeta) { |
|
|
|
// 职站测试
|
|
|
|
// 职站测试
|
|
|
|
host = "http://120.78.198.231/"; |
|
|
|
host = "http://120.78.198.231/"; |
|
|
|
title = "职站服务端管理系统"; |
|
|
|
title = "职站服务端管理系统"; |
|
|
|
schoolId = 2105; |
|
|
|
|
|
|
|
} else if (isPro) { |
|
|
|
} else if (isPro) { |
|
|
|
// 职站生产
|
|
|
|
// 职站生产
|
|
|
|
host = "http://www.occupationlab.com/"; |
|
|
|
host = "http://www.occupationlab.com/"; |
|
|
|
title = "职站服务端管理系统"; |
|
|
|
title = "职站服务端管理系统"; |
|
|
|
schoolId = 2105; |
|
|
|
|
|
|
|
} else if (isTest){ |
|
|
|
} else if (isTest){ |
|
|
|
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/"; |
|
|
|
title = "职站服务端管理系统"; |
|
|
|
title = "职站服务端管理系统"; |
|
|
|
schoolId = 2105; |
|
|
|
|
|
|
|
} else if (isDev) { |
|
|
|
} else if (isDev) { |
|
|
|
jumpPath = "http://192.168.31.154:8087/"; |
|
|
|
jumpPath = "http://192.168.31.154:8087/"; |
|
|
|
// host = "http://39.108.250.202:9000/"; // 中台测试服
|
|
|
|
// host = "http://39.108.250.202:9000/"; // 中台测试服
|
|
|
@ -46,7 +40,6 @@ if (isHh) { |
|
|
|
// 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/'; // 赓
|
|
|
|
title = "职站服务端管理系统"; |
|
|
|
title = "职站服务端管理系统"; |
|
|
|
schoolId = 2105; |
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
console.log("其它版本"); |
|
|
|
console.log("其它版本"); |
|
|
|
} |
|
|
|
} |
|
|
|