Newer
Older
XinYang_SanWei+RongYun / src / util / interface.js
@raoxianxuan raoxianxuan on 23 Dec 2021 549 bytes gis提交
import department from './department';
import Excel from "./excel";
// import dataSource from './apiField/dataSource';

const host = '/sysApi'

let nozzle = {
  userTree: '/task/userTree' // 登录页

}

// 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, Excel);
// nozzle = Object.assign(nozzle, dataSource);
export default nozzle