import request from "@/utils/request"

/** 检疫站 — 分页列表 */
export function listQuarantineStation(query) {
  return request({
    url: "/livestock/quarantineStation/list",
    method: "get",
    params: query
  })
}

/** 详情 */
export function getQuarantineStation(id) {
  return request({
    url: "/livestock/quarantineStation/" + id,
    method: "get"
  })
}

/** 新增 */
export function addQuarantineStation(data) {
  return request({
    url: "/livestock/quarantineStation",
    method: "post",
    data
  })
}

/** 修改 */
export function updateQuarantineStation(data) {
  return request({
    url: "/livestock/quarantineStation",
    method: "put",
    data
  })
}

/** 删除 */
export function delQuarantineStation(ids) {
  return request({
    url: "/livestock/quarantineStation/" + ids,
    method: "delete"
  })
}
