|
|
@ -5,7 +5,7 @@ const isDev = process.env.NODE_ENV === 'development' //是否本地 |
|
|
|
const isHh = url.includes('10.196.131.73') //是否是河海版本
|
|
|
|
const isHh = url.includes('10.196.131.73') //是否是河海版本
|
|
|
|
const isPro = url.includes('occupationlab.com') //是否职站生产
|
|
|
|
const isPro = url.includes('occupationlab.com') //是否职站生产
|
|
|
|
const isZxy = url.includes('izhixinyun.com') //是否智信云
|
|
|
|
const isZxy = url.includes('izhixinyun.com') //是否智信云
|
|
|
|
let vscodeUrl = 'http://121.37.12.51:8088/?folder=/home/coder' |
|
|
|
let vscodeUrl = 'http://121.37.12.51:8088' |
|
|
|
let host = location.origin + '/' |
|
|
|
let host = location.origin + '/' |
|
|
|
let bankPath = `${location.origin}/banksystem` // 银行系统
|
|
|
|
let bankPath = `${location.origin}/banksystem` // 银行系统
|
|
|
|
// 121.37.12.51 | 192.168.31.151
|
|
|
|
// 121.37.12.51 | 192.168.31.151
|
|
|
@ -18,10 +18,11 @@ if (isDev) { |
|
|
|
} else if (isPro) { |
|
|
|
} else if (isPro) { |
|
|
|
host = 'https://occupationlab.com/' |
|
|
|
host = 'https://occupationlab.com/' |
|
|
|
bankPath = `https://www.huorantech.cn/banksystem` |
|
|
|
bankPath = `https://www.huorantech.cn/banksystem` |
|
|
|
vscodeUrl = 'https://vscode.occupationlab.com/' |
|
|
|
vscodeUrl = 'https://vscode.occupationlab.com' |
|
|
|
} else if (isZxy) { |
|
|
|
} else if (isZxy) { |
|
|
|
vscodeUrl = 'https://vscode.izhixinyun.com' |
|
|
|
vscodeUrl = 'https://vscode.izhixinyun.com' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
vscodeUrl += `?folder=/home/coder/workspace` |
|
|
|
const systemId = Cookie.get('admin-systemId') |
|
|
|
const systemId = Cookie.get('admin-systemId') |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
/** |
|
|
|
/** |
|
|
|