import request from '@/utils/request'

// const Url = "http://182.43.247.65:8000"
const Url = "./APP"

// 查询能源系统统计数据
export function getEnergy(query) {
    return request({
        url: '/energy/count',
        method: 'get',
        params: query,
        baseURL: import.meta.env.DEV ? '/APP' : Url,
    })
}