智慧农业后台管理页面
guoshilong
2022-08-26 fec7909e8552e98c60f3e14efc7d208e109dc4f8
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
        }
    })
}