|
|
@ -1,14 +1,17 @@ |
|
|
|
// let host = 'http://192.168.31.117:8080'
|
|
|
|
|
|
|
|
// let host1 = 'http://192.168.31.152:8080'
|
|
|
|
|
|
|
|
// let host2 = 'http://192.168.31.152:9000'//榕
|
|
|
|
|
|
|
|
let host = '' |
|
|
|
let host = '' |
|
|
|
let host2 = '' |
|
|
|
// 科大接口切换,参数里带host的为科大,否则就是职站中台
|
|
|
|
if(location.host.includes('liuwanr.cn')){ |
|
|
|
let isKd = /&host=(\d)/.exec(location.hash) //host:{1:测试环境,2:正式环境}
|
|
|
|
host = 'http://www.liuwanr.cn' |
|
|
|
if(isKd){ |
|
|
|
host2 = 'http://122.9.154.146' |
|
|
|
host = isKd[1] == 1 ? 'http://122.9.154.146' : 'http://116.63.168.79' |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
host = 'http://www.occupationlab.com' |
|
|
|
// 职站中台接口切换
|
|
|
|
host2 = 'http://116.63.168.79' |
|
|
|
if(location.host.includes('liuwanr.cn')){ |
|
|
|
|
|
|
|
host = 'http://www.liuwanr.cn' |
|
|
|
|
|
|
|
}else if(location.host.includes('occupationlab.com')){ |
|
|
|
|
|
|
|
host = 'http://www.occupationlab.com' |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
host = 'http://39.108.250.202' |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
let host1 = 'http://39.108.250.202:8080' |
|
|
|
let host1 = 'http://39.108.250.202:8080' |
|
|
@ -16,6 +19,7 @@ let uploadURL = 'http://8.134.8.197:8001' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
fileupload: `${uploadURL}/oss/manage/fileupload`, |
|
|
|
fileupload: `${uploadURL}/oss/manage/fileupload`, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 职站
|
|
|
|
QueryPointOfJudgement: `${host}/judgment/pointOfJudgement/queryPointOfJudgement`, //判分点列表查询
|
|
|
|
QueryPointOfJudgement: `${host}/judgment/pointOfJudgement/queryPointOfJudgement`, //判分点列表查询
|
|
|
|
DeletePointOfJudgement: `${host}/judgment/pointOfJudgement/deletePointOfJudgement`, //判分点列表删除
|
|
|
|
DeletePointOfJudgement: `${host}/judgment/pointOfJudgement/deletePointOfJudgement`, //判分点列表删除
|
|
|
|
QueryPfdInformation: `${host}/judgment/pointOfJudgement/queryPfdInformation`, //判分点详细信息
|
|
|
|
QueryPfdInformation: `${host}/judgment/pointOfJudgement/queryPfdInformation`, //判分点详细信息
|
|
|
@ -28,24 +32,25 @@ export default { |
|
|
|
DeletePointOfJudgementRule: `${host}/judgment/pointOfJudgement/deletePointOfJudgementRule`, //删除判分点规则
|
|
|
|
DeletePointOfJudgementRule: `${host}/judgment/pointOfJudgement/deletePointOfJudgementRule`, //删除判分点规则
|
|
|
|
UpdateIsOpen: `${host}/judgment/pointOfJudgement/updateIsOpen`, //修改判分点状态
|
|
|
|
UpdateIsOpen: `${host}/judgment/pointOfJudgement/updateIsOpen`, //修改判分点状态
|
|
|
|
JudgmentPointNameRepetition: `${host}/judgment/pointOfJudgement/JudgmentPointNameRepetition`, |
|
|
|
JudgmentPointNameRepetition: `${host}/judgment/pointOfJudgement/JudgmentPointNameRepetition`, |
|
|
|
queryUserIds:`/liuwanr/userInfo/queryUserIds`, |
|
|
|
queryUserIds:`${host}/liuwanr/userInfo/queryUserIds`, |
|
|
|
|
|
|
|
|
|
|
|
// 科大
|
|
|
|
// 科大子系统
|
|
|
|
queryPoint: `${host2}/kdSys/queryPoint`, |
|
|
|
queryPoint: `${host}/kdSys/queryPoint`, |
|
|
|
querySubject: `${host2}/kdSys/querySubject`, |
|
|
|
querySubject: `${host}/kdSys/querySubject`, |
|
|
|
queryItem: `${host2}/kdSys/queryItem`, |
|
|
|
queryItem: `${host}/kdSys/queryItem`, |
|
|
|
|
|
|
|
|
|
|
|
// 川大
|
|
|
|
// 科大平台
|
|
|
|
|
|
|
|
queryListTrading: `${host}/judgment/tradingJudgmentPoints/query`, |
|
|
|
|
|
|
|
deleteTrading: `${host}/judgment/tradingJudgmentPoints/delete`, |
|
|
|
|
|
|
|
addTrading: `${host}/judgment/tradingJudgmentPoints/add`, |
|
|
|
|
|
|
|
queryDetailsTrading: `${host}/judgment/tradingJudgmentPoints/queryDetails`, |
|
|
|
|
|
|
|
updateTrading: `${host}/judgment/tradingJudgmentPoints/update`, |
|
|
|
|
|
|
|
updateRuleTrading: `${host}/judgment/tradingJudgmentPoints/updateRule`, |
|
|
|
|
|
|
|
deleteRuleTrading: `${host}/judgment/tradingJudgmentPoints/deleteRule`, |
|
|
|
|
|
|
|
addRule: `${host}/judgment/tradingJudgmentPoints/addRule`, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 川大子系统
|
|
|
|
firstLevel: `${host1}/sichuan/point/firstLevel`, |
|
|
|
firstLevel: `${host1}/sichuan/point/firstLevel`, |
|
|
|
secondaryLevel: `${host1}/sichuan/point/secondaryLevel`, |
|
|
|
secondaryLevel: `${host1}/sichuan/point/secondaryLevel`, |
|
|
|
thirdLevel: `${host1}/sichuan/point/thirdLevel`, |
|
|
|
thirdLevel: `${host1}/sichuan/point/thirdLevel`, |
|
|
|
|
|
|
|
|
|
|
|
queryListTrading: `${host2}/judgment/tradingJudgmentPoints/query`, |
|
|
|
|
|
|
|
deleteTrading: `${host2}/judgment/tradingJudgmentPoints/delete`, |
|
|
|
|
|
|
|
addTrading: `${host2}/judgment/tradingJudgmentPoints/add`, |
|
|
|
|
|
|
|
queryDetailsTrading: `${host2}/judgment/tradingJudgmentPoints/queryDetails`, |
|
|
|
|
|
|
|
updateTrading: `${host2}/judgment/tradingJudgmentPoints/update`, |
|
|
|
|
|
|
|
updateRuleTrading: `${host2}/judgment/tradingJudgmentPoints/updateRule`, |
|
|
|
|
|
|
|
deleteRuleTrading: `${host2}/judgment/tradingJudgmentPoints/deleteRule`, |
|
|
|
|
|
|
|
addRule: `${host2}/judgment/tradingJudgmentPoints/addRule`, |
|
|
|
|
|
|
|
} |
|
|
|
} |