You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
import request from '@/utils/request'
// 查询兽医经验文章列表
export function listArticle(query) { return request({ url: '/vet/article/list', method: 'get', params: query })}
// 查询兽医经验文章详细
export function getArticle(id) { return request({ url: '/vet/article/' + id, method: 'get' })}
// 新增兽医经验文章
export function addArticle(data) { return request({ url: '/vet/article', method: 'post', data: data })}
// 修改兽医经验文章
export function updateArticle(data) { return request({ url: '/vet/article', method: 'put', data: data })}
// 删除兽医经验文章
export function delArticle(id) { return request({ url: '/vet/article/' + id, method: 'delete' })}
|