TraceabilityAPP/api/aquatic.js

19 lines
754 B
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)