智慧农业后台管理页面
guoshilong
2022-08-15 13a4405dcc2f103ad75ec330258a4a9ef1cd370b
src/api/farm/farmingrecord.js
@@ -59,22 +59,22 @@
}
export const getFarmingCount = (deptId) => {
export const getFarmingCount = (farmId) => {
    return request({
        url: '/api/farmingRecord/getFarmingCount',
        method: 'get',
        params: {
            deptId
            farmId
        }
    })
}
export const getFarmingStatis = (deptId) => {
export const getFarmingStatis = (farmId) => {
    return request({
        url: '/api/farmingRecord/getFarmingStatis',
        method: 'get',
        params: {
            deptId
            farmId
        }
    })
}