/** * 巡检 * @exports {Object} * 谢阳 */ let host = '/dataApi'; let nozzle = { 'personnelInfo': '/personnel/info', //获取巡检人信息 }; for (let item in nozzle) { nozzle[item] = host + nozzle[item]; } export default nozzle;