import request from '@/router/axios';

export const getPage = (current, size, params) => {
    return request({
        url: '/api/galaxy-business/rtu/data/river/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}

export const getDetail = (rtuCode) => {
    return request({
        url: '/api/galaxy-business/rtu/data/river/detail',
        method: 'get',
        params: {
            rtuCode
        }
    })
}
