animal_health_protection_summary.js 1.0 KB
import request from '@/utils/request'

// 查询动保投用汇总列表
export function listAnimal_health_protection_summary(query) {
  return request({
    url: '/admin/dbkb/animal_health_protection_summary/list',
    method: 'get',
    params: query
  })
}

// 查询动保投用汇总详细
export function getAnimal_health_protection_summary(id) {
  return request({
    url: '/admin/dbkb/animal_health_protection_summary/' + id,
    method: 'get'
  })
}

// 新增动保投用汇总
export function addAnimal_health_protection_summary(data) {
  return request({
    url: '/admin/dbkb/animal_health_protection_summary',
    method: 'post',
    data: data
  })
}

// 修改动保投用汇总
export function updateAnimal_health_protection_summary(data) {
  return request({
    url: '/admin/dbkb/animal_health_protection_summary',
    method: 'put',
    data: data
  })
}

// 删除动保投用汇总
export function delAnimal_health_protection_summary(id) {
  return request({
    url: '/admin/dbkb/animal_health_protection_summary/' + id,
    method: 'delete'
  })
}