mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/api/plant.js

37 lines
1.8 KiB
JavaScript
Raw Permalink Normal View History

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)
2023-10-28 18:28:10 +08:00
2023-10-25 19:55:18 +08:00
// 实时监测记录
export const landEnvDataCurrAPI = (data) => syhttp.get('/LandPlant/landEnvDataCurr', data)
// 标记为成熟
2023-10-30 19:09:40 +08:00
export const setLandCropRipeAPI = (data) => syhttp.post('/LandPlant/setLandCropRipe', data)
2023-10-25 19:55:18 +08:00
// 种植图片列表
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)
// 检测数据表
2023-10-28 18:28:10 +08:00
export const landEnvDataChartAPI = (data) => syhttp.get('/LandPlant/landEnvDataChart', data)
// 进行操作
export const addLandCropRecordAPI = (data) => syhttp.post('/LandPlant/addLandCropRecord', data)
// 删除操作 delLandCropRecord
export const delLandCropRecordAPI = (data) => syhttp.post('/LandPlant/delLandCropRecord', data)
// 编辑
export const ediLandCropRecordAPI = (data) => syhttp.post('/LandPlant/ediLandCropRecord', data)
// 生长记录表
2023-10-31 18:40:32 +08:00
export const landCropRecordListAPI = (data) => syhttp.get('/LandPlant/landCropRecordList', data)
// 全部成熟
export const landCropAllRipeAPI = (data) => syhttp.post('/LandPlant/landCropAllRipe', data)