animal_protection_allocation.js 993 字节
import request from '@/utils/request'

// 查询动保调拨列表
export function listAnimal_protection_allocation(query) {
  return request({
    url: '/admin/db/animal_protection_allocation/list',
    method: 'get',
    params: query
  })
}

// 查询动保调拨详细
export function getAnimal_protection_allocation(id) {
  return request({
    url: '/admin/db/animal_protection_allocation/' + id,
    method: 'get'
  })
}

// 新增动保调拨
export function addAnimal_protection_allocation(data) {
  return request({
    url: '/admin/db/animal_protection_allocation',
    method: 'post',
    data: data
  })
}

// 修改动保调拨
export function updateAnimal_protection_allocation(data) {
  return request({
    url: '/admin/db/animal_protection_allocation',
    method: 'put',
    data: data
  })
}

// 删除动保调拨
export function delAnimal_protection_allocation(id) {
  return request({
    url: '/admin/db/animal_protection_allocation/' + id,
    method: 'delete'
  })
}