import request from '@/router/axios';

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

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


