import department from './department' // import dataSource from './apiField/dataSource'; const host = '/api' let nozzle = { login: '/sys/login' // 登录页 } // for (let items in department) { // nozzle[items] = department[items]; // } for (const item in nozzle) { nozzle[item] = host + nozzle[item] } // nozzle = Object.assign(nozzle, project) nozzle = Object.assign(nozzle, department) // nozzle = Object.assign(nozzle, dataSource); export default nozzle