智慧农业后台管理页面
Administrator
2022-07-08 335f9ce8a5efb5be1c8d7c422d2beee6fd77cd97
src/api/land/land.js
@@ -2,7 +2,7 @@
export const getList = (current, size, params) => {
    return request({
        url: '/api/land/land/list',
        url: '/api/land/land/page',
        method: 'get',
        params: {
            ...params,
@@ -34,7 +34,7 @@
export const add = (row) => {
    return request({
        url: '/api/land/land/submit',
        url: '/api/land/land/save',
        method: 'post',
        data: row
    })
@@ -57,3 +57,13 @@
        }
    })
}
export const selectCount = (deptId) => {
    return request({
        url: '/api/land/land/selectCount',
        method: 'get',
        params: {
            deptId
        }
    })
}