mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/api/chick.js

23 lines
1011 B
JavaScript
Raw Normal View History

2023-10-25 19:55:18 +08:00
import syhttp from "@/utils/syhttp.js";
/**
* 家畜列表
*/
export const animalListAPI = (data) => syhttp.get('/PoultryBreed/poultryList', data)
// 监测数据/api
export const animalEnvDataAPI = (data) => syhttp.get('/PoultryBreed/poultryEnvData', data)
// 添加动物
export const addAnimalAPI = (data) => syhttp.post('/PoultryBreed/addPoultry', data)
// 操作列表
export const actionsAPI = (data) => syhttp.get('/user/actions', data)
// 操作列表
2023-10-27 18:38:25 +08:00
export const animalInfoAPI = (data) => syhttp.get('/PoultryBreed/poultryInfo', data)
2023-10-25 19:55:18 +08:00
// 图片列表
export const animalPicListAPI = (data) => syhttp.get('/PoultryBreed/poultryPicList', data)
// 上传动物图片
2023-10-26 20:18:04 +08:00
export const addAnimalPicAPI = (data) => syhttp.post('/PoultryBreed/addPoultryPic', data)
// 家禽详情
export const poultryInfoAPI = (data) => syhttp.get('/PoultryBreed/poultryInfo', data)
// 更新状态
export const poultryStatusAPI = (data) => syhttp.post('/PoultryBreed/poultryStatus', data)
// /api/PoultryBreed/poultryPicList