2023-10-25 19:55:18 +08:00
|
|
|
import syhttp from "@/utils/syhttp.js";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 用户信息
|
|
|
|
*/
|
|
|
|
export const userInfoAPI = (data) => syhttp.get('/user/userInfo', data)
|
|
|
|
// 土地详情
|
|
|
|
export const landInfoAPI = (data) => syhttp.get('/LandPlant/landInfo', data)
|
|
|
|
// 添加土地详情
|
|
|
|
export const AddlandInfoAPI = (data) => syhttp.post('/LandPlant/addLandCrop', data)
|
|
|
|
// 添加土地详情
|
|
|
|
export const addLandCropPicAPI = (data) => syhttp.post('/LandPlant/addLandCropPic', data)
|
|
|
|
// 生长记录表
|
|
|
|
export const landCropRecordListAPI = (data) => syhttp.get('/LandPlant/landCropRecordList', data)
|
|
|
|
// 实时监测记录
|
|
|
|
export const landEnvDataCurrAPI = (data) => syhttp.get('/LandPlant/landEnvDataCurr', data)
|
|
|
|
// 标记为成熟
|
|
|
|
export const setLandCropRipeAPI = (data) => syhttp.get('/LandPlant/setLandCropRipe', data)
|
|
|
|
// 种植图片列表
|
|
|
|
export const landCropPicListAPI = (data) => syhttp.get('/LandPlant/landCropPicList', data)
|
|
|
|
// 种植操作列表
|
2023-10-26 19:02:26 +08:00
|
|
|
export const actionsListAPI = (data) => syhttp.get('/user/actions', data)
|
|
|
|
// 种植操作详情
|
|
|
|
export const actionsDetailAPI = (data) => syhttp.get('/user/actionsDetail', data)
|
|
|
|
// 种植操作详情列表
|
|
|
|
export const landCropRecordInfoAPI = (data) => syhttp.get('/LandPlant/landCropRecordInfo', data)
|
|
|
|
// 检测数据表
|
|
|
|
export const landEnvDataChartAPI = (data) => syhttp.get('/LandPlant/landEnvDataChart', data)
|