import request from '@/router/axios';
export const getPage = (current, size, params) => {
    return request({
        url: '/api/galaxy-business/monitor/waterflowrate/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}

export const getHistoryPage = (current, size, params) => {
    return request({
        url: '/api/galaxy-business/monitor/waterflowrate/history/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}

export const getDetail = (id) => {
    return request({
        url: '/api/galaxy-business/monitor/waterflowrate/detail',
        method: 'get',
        params: {
            id
        }
    })
}