import request from '@/router/axios';
export const getMonitorSiteCountPage = (params) => {
    return request({
        url: '/api/galaxy-business/count/monitorsite/page',
        method: 'get',
        params: {
            ...params,
        }
    })
}

export const getOrgWaterFlowCountPage = (current, size, params) => {
    return request({
        url: '/api/galaxy-business/count/org/wateruse/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}

export const getWaterUseConsumerFlowCountPage = (params) => {
    return request({
        url: '/api/galaxy-business/count/wateruseconsumer/wateruse/page',
        method: 'get',
        params: {
            ...params,
        }
    })
}


export const getWaterUseConsumerCountPage = (current, size, params) => {
    return request({
        url: '/api/galaxy-business/count/wateruseconsumer/wateruse/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}

export const getWaterUseConsumerMonthCountPage = (current, size, params) => {
    return request({
        url: '/api/galaxy-business/count/wateruseconsumer/month/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}

export const getWaterUseConsumerYearCountPage = (current, size, params) => {
    return request({
        url: '/api/galaxy-business/count/wateruseconsumer/year/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}

