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)
|
2023-10-28 18:28:10 +08:00
|
|
|
// 种植操作列表
|
|
|
|
// export const actionsListAPI = (data) => syhttp.get('/user/actions', data)
|
|
|
|
// 种植操作详情
|
|
|
|
// export const actionsDetailAPI = (data) => syhttp.get('/user/actionsDetail', data)
|
|
|
|
// /api/PoultryBreed/poultryPicList
|
|
|
|
|
|
|
|
|
|
|
|
// 种植操作列表
|
|
|
|
export const actionsListAPI = (data) => syhttp.get('/user/actions', data)
|
|
|
|
// 种植操作详情
|
|
|
|
export const actionsDetailAPI = (data) => syhttp.get('/user/actionsDetail', data)
|
|
|
|
|
|
|
|
// 种植操作详情列表
|
|
|
|
export const landCropRecordInfoAPI = (data) => syhttp.get('/PoultryBreed/poultryRecordInfo', data)
|
|
|
|
// 进行操作
|
|
|
|
export const addLandCropRecordAPI = (data) => syhttp.post('/PoultryBreed/addPoultryRecord', data)
|
|
|
|
// 删除操作 delLandCropRecord
|
|
|
|
export const delLandCropRecordAPI = (data) => syhttp.post('/PoultryBreed/delPoultryRecord', data)
|
|
|
|
// 编辑
|
|
|
|
export const ediLandCropRecordAPI = (data) => syhttp.post('/PoultryBreed/ediPoultryRecord', data)
|
|
|
|
// 生长记录表
|
|
|
|
export const landCropRecordListAPI = (data) => syhttp.get('/PoultryBreed/poultryRecordList', data)
|
|
|
|
// 搜索
|
|
|
|
export const animalSearchByCodeAPI = (data) => syhttp.get('/PoultryBreed/poultrySearchByCode', data)
|