import myAxios from './axios' const sx = process.env.VUE_APP_CITY_TYPE == 'sx'?'/ferry_service/ferryController/conveyor':'' //通过id获取到当前id的详细信息 export function getCurrentPersonInfoAPI(customerId) { return myAxios({ url: `${sx}/energy-effcicency-net-service/nxzdCustomerBasicInfoNet/getOneInfo`, //后端接口路由 method: 'get', params: { id: customerId } }) } // 查询单个客户统计信息 export function getCustomerStatisticAPI(id) { return myAxios({ url:`${sx}/energy-effcicency-net-service/nxzdCustomerBasicInfoNet/getCustomerStatistic`, //后端接口路由 method: 'get', params: { id } }) } // 工业企业--通过id获取到当前id的详细信息 export function getInfoAPI(customerId) { return myAxios({ url:`${sx}/energy-effcicency-net-service/nxzdCustomerBasicInfoNet/getEnterpriseCustomerStatistic`, //后端接口路由 method: 'get', params: { id: customerId } }) }