TraceabilityAPP/api/aquatic.js

37 lines
1.6 KiB
JavaScript
Raw Normal View History

2023-10-26 19:02:26 +08:00
import syhttp from "@/utils/syhttp.js";
/**
* 添加水产养殖信息
*/
export const addFishAPI = (data) => syhttp.post('/FishBreed/addFish', data)
// 用户池塘信息
export const pondInfoAPI = (data) => syhttp.get('/FishBreed/pondInfo', data)
// 上传图片
export const addFishPicAPI = (data) => syhttp.post('/FishBreed/addFishPic', data)
// 实时环境监测
export const pondEnvDataAPI = (data) => syhttp.get('/FishBreed/pondEnvData', data)
// 图片列表
export const fishPicListAPI = (data) => syhttp.get('/FishBreed/fishPicList', data)
2023-10-27 20:03:22 +08:00
// 添加水产操作
export const addFishRecordAPI = (data) => syhttp.post('/FishBreed/addFishRecord', data)
2023-10-26 19:02:26 +08:00
//
2023-10-28 18:28:10 +08:00
// export const fishPicListAPI = (data) => syhttp.get('/FishBreed/fishPicList', data)
// 种植操作列表
export const actionsListAPI = (data) => syhttp.get('/user/actions', data)
// 种植操作详情
export const actionsDetailAPI = (data) => syhttp.get('/user/actionsDetail', data)
// 种植操作详情列表
export const landCropRecordInfoAPI = (data) => syhttp.get('/FishBreed/fishRecordList', data)
// 进行操作
export const addLandCropRecordAPI = (data) => syhttp.post('/FishBreed/addFishRecord', data)
// 删除操作 delLandCropRecord
export const delLandCropRecordAPI = (data) => syhttp.post('/FishBreed/delFishRecord', data)
// 编辑
export const ediLandCropRecordAPI = (data) => syhttp.post('/FishBreed/ediFishRecord', data)
// 生长记录表
export const landCropRecordListAPI = (data) => syhttp.get('/FishBreed/fishRecordList', data)
// 搜索
// export const animalSearchByCodeAPI = (data) => syhttp.get('/PoultryBreed/poultrySearchByCode', data)