import request from '@/utils/request' import config from '@/utils/baseConfig' // 物联网接口 // 各类物联网设备数量 export function fetchProjectInvestmentByType (year) { return request({ baseURL: config.baseUrl, url: '/project/investmentByType', method: 'get', params: { params: year } }) } export function fetchLampStatics () { return request({ baseURL: config.baseUrl, url: '/iot/lampStatics', method: 'get' }) } export function fetchLampByArea () { return request({ baseURL: config.baseUrl, url: '/iot/lampByArea', method: 'get' }) }