animal_health_protection_inventory.js 1.1 KB
import request from '@/utils/request'

// 查询动保进出存列表
export function listAnimal_health_protection_inventory(query) {
  return request({
    url: '/admin/dbkb/animal_health_protection_inventory/list',
    method: 'get',
    params: query
  })
}

// 查询动保进出存详细
export function getAnimal_health_protection_inventory(id) {
  return request({
    url: '/admin/dbkb/animal_health_protection_inventory/' + id,
    method: 'get'
  })
}

// 新增动保进出存
export function addAnimal_health_protection_inventory(data) {
  return request({
    url: '/admin/dbkb/animal_health_protection_inventory',
    method: 'post',
    data: data
  })
}

// 修改动保进出存
export function updateAnimal_health_protection_inventory(data) {
  return request({
    url: '/admin/dbkb/animal_health_protection_inventory',
    method: 'put',
    data: data
  })
}

// 删除动保进出存
export function delAnimal_health_protection_inventory(id) {
  return request({
    url: '/admin/dbkb/animal_health_protection_inventory/' + id,
    method: 'delete'
  })
}