智慧农业大数据平台
shuishen
2022-07-13 2a547086974c31dd7a1ebc3c85c5afc6bf4cc999
src/api/land/land.js
@@ -1,20 +1,20 @@
import request from '@/router/axios';
import request from '@/router/axios'
export const getList = (current, size, params) => {
    return request({
        url: '/api/land/land/page',
        url: '/land/land/page',
        method: 'get',
        params: {
            ...params,
            current,
            size,
            size
        }
    })
}
export const getDetail = (id) => {
    return request({
        url: '/api/land/land/details',
        url: '/land/land/details',
        method: 'get',
        params: {
            id
@@ -24,17 +24,17 @@
export const remove = (ids) => {
    return request({
        url: '/api/land/land/remove',
        url: '/land/land/remove',
        method: 'post',
        params: {
            ids,
            ids
        }
    })
}
export const add = (row) => {
    return request({
        url: '/api/land/land/save',
        url: '/land/land/save',
        method: 'post',
        data: row
    })
@@ -42,7 +42,7 @@
export const update = (row) => {
    return request({
        url: '/api/land/land/submit',
        url: '/land/land/submit',
        method: 'post',
        data: row
    })
@@ -50,7 +50,7 @@
export const getLandList = (userid) => {
    return request({
        url: '/api/land/land/selectLandList',
        url: '/land/land/selectLandList',
        method: 'get',
        params: {
            userid