import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'dataCommunicationManage/baoTouDiJia/device/insert',
    method: 'post',
    data
  })
}

export function edit(data) {
  return request({
    url: 'dataCommunicationManage/baoTouDiJia/device/update',
    method: 'post',
    data
  })
}

export function del(data) {
  return request({
    url: 'dataCommunicationManage/baoTouDiJia/device/delete',
    method: 'post',
    data
  })
}

export default { add, edit, del }
