23 lines
1011 B
JavaScript
23 lines
1011 B
JavaScript
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)
|
|
// 操作列表
|
|
export const animalInfoAPI = (data) => syhttp.get('/PoultryBreed/poultryInfo', data)
|
|
// 图片列表
|
|
export const animalPicListAPI = (data) => syhttp.get('/PoultryBreed/poultryPicList', data)
|
|
// 上传动物图片
|
|
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
|