37 lines
1.6 KiB
JavaScript
37 lines
1.6 KiB
JavaScript
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)
|
|
// 添加水产操作
|
|
export const addFishRecordAPI = (data) => syhttp.post('/FishBreed/addFishRecord', data)
|
|
|
|
//
|
|
// 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)
|