东农后台api接口文档

接口文档


虫情测报灯-查看图片

[TOC]

简要描述
  • 虫情数据展示
请求URL
  • http://xgkj.hljnyxx.com/dongnongBackend/index.php//Home/Insect/getInsectPicInfo
请求方式
  • GET
参数
参数名 必选 类型 说明
deviceId 虫情设备编号
pageNo 页码
pageSize 每页显示数
startTime 开始时间
endTime 结束时间
返回示例
{
    "code": 0,
    "msg": "查询成功",
    "data": [
        {
            "id": "1",
            "img_url": "/Public/InsectPic/1.jpg",
            "create_time": "2023-03-22 13:38:28",
            "identify_result": [
                {
                    "insect_count": 1,
                    "insect_type": "398",
                    "insect_type_name": "甜菜白带野螟"
                },
                {
                    "insect_count": 1,
                    "insect_type": "487",
                    "insect_type_name": "棉大卷叶螟"
                }
            ],
            "device_id": "521279",
            "total_count": 2
        },
        {
            "id": "2",
            "img_url": "/Public/InsectPic/1.jpg",
            "create_time": "2023-04-13 16:03:19",
            "identify_result": [
                {
                    "insect_count": 1,
                    "insect_type": "398",
                    "insect_type_name": "甜菜白带野螟"
                },
                {
                    "insect_count": 1,
                    "insect_type": "487",
                    "insect_type_name": "棉大卷叶螟"
                }
            ],
            "device_id": "521279",
            "total_count": 2
        }
    ],
    "count": "7"
}
返回参数说明
参数名 说明
img_url 虫情图片在服务器端的相对地址
create_time 虫情图片上传地址
total_count 该图片内虫子总数
identify_result 虫情图片具体数据
+insect_count 虫子数量
+insect_type 虫子序号
+insect_type_name 虫子名称
备注

页面列表

ITEM_HTML