35 lines
1.6 KiB
JavaScript
35 lines
1.6 KiB
JavaScript
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 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)
|
|
// 种植操作列表
|
|
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)
|
|
// 进行操作
|
|
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)
|
|
// 生长记录表
|
|
export const landCropRecordListAPI = (data) => syhttp.get('/LandPlant/landCropRecordList', data) |