[TOC]
简要描述
请求URL
http://xgkj.hljnyxx.com/dongnongBackend/index.php//Home/Insect/getInsectOrderInfo
请求方式
参数
参数名 |
必选 |
说明 |
deviceId |
是 |
虫情设备编号 |
startTime |
否 |
开始时间 |
endTime |
否 |
结束时间 |
返回示例
{
"code": 0,
"msg": "查询成功",
"data": {
"insectList": [
{
"id": "1",
"create_time": "2023-03-22 13:38:28",
"device_id": "521279",
"total_kind_name": "甜菜白带野螟、棉大卷叶螟",
"total_count": 2
},
{
"id": "2",
"create_time": "2023-04-13 16:03:19",
"device_id": "521279",
"total_kind_name": "甜菜白带野螟、棉大卷叶螟",
"total_count": 2
}
],
"xAxisData": [
"2023-03-22 13:38:28",
"2023-04-13 16:03:19"
],
"legendData": [
"甜菜白带野螟",
"棉大卷叶螟"
],
"series": [
{
"name": "甜菜白带野螟",
"data": [
1,
1
]
},
{
"name": "棉大卷叶螟",
"data": [
1,
1
]
}
],
"insectOrderData": [
{
"insectName": "甜菜白带野螟",
"insectTotalCount": 2
},
{
"insectName": "棉大卷叶螟",
"insectTotalCount": 2
}
]
}
}
返回参数说明
参数名 |
说明 |
insectList |
参数列表 |
+device_id |
设备ID |
+create_time |
虫情图片上传时间 |
+total_count |
该图片内虫子总数 |
+total_kind_name |
该图片内虫子名称合集 |
xAxisData |
虫情数据图表横坐标 |
legendData |
虫情数据图表导航 |
series |
虫情数据图表纵坐标 |
insectOrderData |
虫情数据排名 |
备注