import request from '@/utils/request' // 查询列表 export function getLandList(query) { return request({ url: '/system/app/land/getLandList', method: "get", params: query }) } // 根据用户id查询列表 export function getLandByUserId(query) { return request({ url: '/system/app/land/getLandByUserId', method: "get", params: query }) } //查询地块详情 export function getLandInfo(param) { return request({ url: '/system/land/' + param, method: 'get' }) } //查询地块编码排序 export function getLandNum() { return request({ url: '/system/land/getLandNum', method: 'get' }) } // 新增地块 export function addLand(data) { return request({ url: '/system/land', method: 'post', data: data }) } // 修改地块 export function updateLand(data) { return request({ url: '/system/land', method: 'put', data: data }) } // 查询地块列表 export function getLandAndDevice(query) { return request({ url: '/system/land/getLandAndDevice', method: 'get', params: query }) } //获取地块配置 export function getLandConfig(id) { return request({ url: `/system/land/getLandConfig/${id}`, method: 'get' }) }