|
|
@ -8,8 +8,11 @@ const isCH = url.includes("124.71.12.62"); //巢湖版本 |
|
|
|
const isPro = url.includes("occupationlab.com"); //职站生产
|
|
|
|
const isPro = url.includes("occupationlab.com"); //职站生产
|
|
|
|
const isZxy = url.includes("izhixinyun.com"); //智信云
|
|
|
|
const isZxy = url.includes("izhixinyun.com"); //智信云
|
|
|
|
const isTest = url.includes('121.37.12.51'); //中台测试服
|
|
|
|
const isTest = url.includes('121.37.12.51'); //中台测试服
|
|
|
|
|
|
|
|
const isSq = url.includes('10.20.100.204'); // 商丘
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let zcPath = `120.78.139.126:8879` // 众筹
|
|
|
|
let bankPath = `${location.origin}/banksystem` // 银行系统地址
|
|
|
|
let bankPath = `${location.origin}/banksystem` // 银行系统地址
|
|
|
|
|
|
|
|
let sandPath = `${location.origin}/sandbox` // 沙盘地址
|
|
|
|
let jumpPath = `${location.origin}/judgmentPoint` |
|
|
|
let jumpPath = `${location.origin}/judgmentPoint` |
|
|
|
let host = `${location.origin}/` |
|
|
|
let host = `${location.origin}/` |
|
|
|
let uploadURL = `${location.origin}/` |
|
|
|
let uploadURL = `${location.origin}/` |
|
|
@ -23,11 +26,14 @@ if (isPro) { |
|
|
|
} else if (isDev) { |
|
|
|
} else if (isDev) { |
|
|
|
jumpPath = `http://${location.hostname}:8087/` |
|
|
|
jumpPath = `http://${location.hostname}:8087/` |
|
|
|
bankPath = `http://${location.hostname}:8093` |
|
|
|
bankPath = `http://${location.hostname}:8093` |
|
|
|
|
|
|
|
sandPath = `http://${location.hostname}:9520` |
|
|
|
uploadURL = `http://121.37.12.51/` |
|
|
|
uploadURL = `http://121.37.12.51/` |
|
|
|
host = "http://121.37.12.51/"; // 中台测试服
|
|
|
|
host = "http://121.37.12.51/"; // 中台测试服
|
|
|
|
// host = 'https://www.occupationlab.com/' // 正式服
|
|
|
|
// host = 'https://www.occupationlab.com/' // 正式服
|
|
|
|
// host = "http://192.168.31.217:9000/"; // 榕
|
|
|
|
// host = "http://192.168.31.217:9000/"; // 榕
|
|
|
|
// host = 'http://192.168.31.51:9000/'; // 赓
|
|
|
|
// host = 'http://192.168.31.51:9000/'; // 赓
|
|
|
|
|
|
|
|
} else if (isSq) { |
|
|
|
|
|
|
|
zcPath = `10.20.100.204:8883` |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const Setting = { |
|
|
|
const Setting = { |
|
|
@ -49,9 +55,12 @@ const Setting = { |
|
|
|
cookiesExpires: 1, // Cookies 默认保存时间,单位:天
|
|
|
|
cookiesExpires: 1, // Cookies 默认保存时间,单位:天
|
|
|
|
tokenExpires: 1296000000, // token在localStorage的时间(毫秒)
|
|
|
|
tokenExpires: 1296000000, // token在localStorage的时间(毫秒)
|
|
|
|
bankPath, |
|
|
|
bankPath, |
|
|
|
|
|
|
|
sandPath, |
|
|
|
isDev, |
|
|
|
isDev, |
|
|
|
isTest, |
|
|
|
isTest, |
|
|
|
isPro, |
|
|
|
isPro, |
|
|
|
|
|
|
|
isSq, |
|
|
|
|
|
|
|
zcPath, |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 路由白名单 |
|
|
|
* 路由白名单 |
|
|
|
* */ |
|
|
|
* */ |
|
|
|