import request from '@/utils/request'

// 短信发送小工具 - 查询列表
export function listInspectionStationAPI(query) {
    return request({
        url: '/inspectionStation/getInspectionStationList',
        method: 'GET',
        params: query,
    })
}

// 短信发送小工具 - 新增
export function addInspectionStationAPI(data) {
    return request({
        url: '/inspectionStation/addInspectionStation',
        method: 'POST',
        data,
    })
}

// 短信发送小工具 - 修改
export function updateInspectionStationAPI(data) {
    return request({
        url: '/inspectionStation/updateInspectionStation',
        method: 'POST',
        data,
    })
}

// 短信发送小工具 - 删除
export function delInspectionStationAPI(data) {
    return request({
        url: `/inspectionStation/delInspectionStation`,
        method: 'POST',
        data,
    })
}
