智慧农业后台管理页面
guanqb
2022-09-01 332cb84f4e7dad39dc4d7e8a2d2a0717dcf72588
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
        }
    })
}