animal_protection_prescription.js 1013 字节
import request from '@/utils/request'

// 查询动保处方列表
export function listAnimal_protection_prescription(query) {
  return request({
    url: '/admin/db/animal_protection_prescription/list',
    method: 'get',
    params: query
  })
}

// 查询动保处方详细
export function getAnimal_protection_prescription(id) {
  return request({
    url: '/admin/db/animal_protection_prescription/' + id,
    method: 'get'
  })
}

// 新增动保处方
export function addAnimal_protection_prescription(data) {
  return request({
    url: '/admin/db/animal_protection_prescription',
    method: 'post',
    data: data
  })
}

// 修改动保处方
export function updateAnimal_protection_prescription(data) {
  return request({
    url: '/admin/db/animal_protection_prescription',
    method: 'put',
    data: data
  })
}

// 删除动保处方
export function delAnimal_protection_prescription(id) {
  return request({
    url: '/admin/db/animal_protection_prescription/' + id,
    method: 'delete'
  })
}