add:管理端
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
import request from '@/utils/request';
|
||||
// import { requestPort } from '@/utils/requestPort';
|
||||
//宠物列表
|
||||
export function petList(data) {
|
||||
return request({
|
||||
url: `/pet/petList`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
//宠物信息
|
||||
export function petInfo(data) {
|
||||
return request({
|
||||
url: `/pet/petInfo`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
//宠物基础信息列表
|
||||
export function petTypeList(data) {
|
||||
return request({
|
||||
url: `/pet/petTypeList`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
//宠物添加/修改
|
||||
export function petAddOrEdit(data) {
|
||||
return request({
|
||||
url: `/pet/petAddOrEdit`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
//删除宠物
|
||||
export function delPet(data) {
|
||||
return request({
|
||||
url: `/pet/delPet`,
|
||||
method: 'post',
|
||||
data,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user