import request from '@/utils/request'

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

// 查询电子巡查统计数据
export function getEndpoint(query) {
    return request({
        url: '/Hikvision/endpoint',
        method: 'get',
        params: query,
        baseURL: import.meta.env.DEV ? '/APP' : Url,
    })
}