传感器历史数据
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.31.88:8080/api/insect/ListTime</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</li>
</ul>
<h5>请求Query参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">appid</td>
<td style="text-align: left;">wxa0b89c108e34c3d5</td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">secret</td>
<td style="text-align: left;">ec607d7c21f0a4a7d31120032d3e8c44</td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">js_code</td>
<td style="text-align: left;">033vAYkl2SgXo74ns9ll2HlcjS2vAYkQ</td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">file</td>
<td style="text-align: left;"></td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">enviparamId</td>
<td style="text-align: left;">298</td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">siteId</td>
<td style="text-align: left;">102</td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">number</td>
<td style="text-align: left;">3</td>
<td>是</td>
<td>string</td>
<td>1:10条;2:1天;3:七天;4:30天</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
&quot;info&quot;: [
{
&quot;id&quot;: 72465,
&quot;dataId&quot;: &quot;e1&quot;,
&quot;siteId&quot;: &quot;16104030&quot;,
&quot;base_code&quot;: &quot;xw001&quot;,
&quot;enviparamValue&quot;: 17.1,
&quot;enviparamUnit&quot;: &quot;℃&quot;,
&quot;recordTime&quot;: &quot;2024-11-21 19:44&quot;,
&quot;upperValue&quot;: &quot;30&quot;,
&quot;lowerValue&quot;: &quot;10&quot;,
&quot;recordDate&quot;: &quot;2024-11-21 19:44:57&quot;,
&quot;valueFlag&quot;: 2
},
{
&quot;id&quot;: 72338,
&quot;dataId&quot;: &quot;e1&quot;,
&quot;siteId&quot;: &quot;16104030&quot;,
&quot;base_code&quot;: &quot;xw001&quot;,
&quot;enviparamValue&quot;: 17.3,
&quot;enviparamUnit&quot;: &quot;℃&quot;,
&quot;recordTime&quot;: &quot;2024-11-21 18:59&quot;,
&quot;upperValue&quot;: &quot;30&quot;,
&quot;lowerValue&quot;: &quot;10&quot;,
&quot;recordDate&quot;: &quot;2024-11-21 18:59:58&quot;,
&quot;valueFlag&quot;: 2
},
{
&quot;id&quot;: 72211,
&quot;dataId&quot;: &quot;e1&quot;,
&quot;siteId&quot;: &quot;16104030&quot;,
&quot;base_code&quot;: &quot;xw001&quot;,
&quot;enviparamValue&quot;: 17.3,
&quot;enviparamUnit&quot;: &quot;℃&quot;,
&quot;recordTime&quot;: &quot;2024-11-21 18:44&quot;,
&quot;upperValue&quot;: &quot;30&quot;,
&quot;lowerValue&quot;: &quot;10&quot;,
&quot;recordDate&quot;: &quot;2024-11-21 18:44:58&quot;,
&quot;valueFlag&quot;: 2
},
{
&quot;id&quot;: 72070,
&quot;dataId&quot;: &quot;e1&quot;,
&quot;siteId&quot;: &quot;16104030&quot;,
&quot;base_code&quot;: &quot;xw001&quot;,
&quot;enviparamValue&quot;: 17.4,
&quot;enviparamUnit&quot;: &quot;℃&quot;,
&quot;recordTime&quot;: &quot;2024-11-21 17:59&quot;,
&quot;upperValue&quot;: &quot;30&quot;,
&quot;lowerValue&quot;: &quot;10&quot;,
&quot;recordDate&quot;: &quot;2024-11-21 17:59:57&quot;,
&quot;valueFlag&quot;: 2
},
{
&quot;id&quot;: 71929,
&quot;dataId&quot;: &quot;e1&quot;,
&quot;siteId&quot;: &quot;16104030&quot;,
&quot;base_code&quot;: &quot;xw001&quot;,
&quot;enviparamValue&quot;: 17.4,
&quot;enviparamUnit&quot;: &quot;℃&quot;,
&quot;recordTime&quot;: &quot;2024-11-21 17:44&quot;,
&quot;upperValue&quot;: &quot;30&quot;,
&quot;lowerValue&quot;: &quot;10&quot;,
&quot;recordDate&quot;: &quot;2024-11-21 17:44:57&quot;,
&quot;valueFlag&quot;: 2
},
{
&quot;id&quot;: 71788,
&quot;dataId&quot;: &quot;e1&quot;,
&quot;siteId&quot;: &quot;16104030&quot;,
&quot;base_code&quot;: &quot;xw001&quot;,
&quot;enviparamValue&quot;: 17.5,
&quot;enviparamUnit&quot;: &quot;℃&quot;,
&quot;recordTime&quot;: &quot;2024-11-21 16:59&quot;,
&quot;upperValue&quot;: &quot;30&quot;,
&quot;lowerValue&quot;: &quot;10&quot;,
&quot;recordDate&quot;: &quot;2024-11-21 16:59:03&quot;,
&quot;valueFlag&quot;: 2
},
{
&quot;id&quot;: 71647,
&quot;dataId&quot;: &quot;e1&quot;,
&quot;siteId&quot;: &quot;16104030&quot;,
&quot;base_code&quot;: &quot;xw001&quot;,
&quot;enviparamValue&quot;: 17.4,
&quot;enviparamUnit&quot;: &quot;℃&quot;,
&quot;recordTime&quot;: &quot;2024-11-21 16:44&quot;,
&quot;upperValue&quot;: &quot;30&quot;,
&quot;lowerValue&quot;: &quot;10&quot;,
&quot;recordDate&quot;: &quot;2024-11-21 16:44:03&quot;,
&quot;valueFlag&quot;: 2
},
{
&quot;id&quot;: 71506,
&quot;dataId&quot;: &quot;e1&quot;,
&quot;siteId&quot;: &quot;16104030&quot;,
&quot;base_code&quot;: &quot;xw001&quot;,
&quot;enviparamValue&quot;: 17.3,
&quot;enviparamUnit&quot;: &quot;℃&quot;,
&quot;recordTime&quot;: &quot;2024-11-21 15:59&quot;,
&quot;upperValue&quot;: &quot;30&quot;,
&quot;lowerValue&quot;: &quot;10&quot;,
&quot;recordDate&quot;: &quot;2024-11-21 15:59:03&quot;,
&quot;valueFlag&quot;: 2
},
{
&quot;id&quot;: 71366,
&quot;dataId&quot;: &quot;e1&quot;,
&quot;siteId&quot;: &quot;16104030&quot;,
&quot;base_code&quot;: &quot;xw001&quot;,
&quot;enviparamValue&quot;: 17.2,
&quot;enviparamUnit&quot;: &quot;℃&quot;,
&quot;recordTime&quot;: &quot;2024-11-21 15:44&quot;,
&quot;upperValue&quot;: &quot;30&quot;,
&quot;lowerValue&quot;: &quot;10&quot;,
&quot;recordDate&quot;: &quot;2024-11-21 15:44:03&quot;,
&quot;valueFlag&quot;: 2
},
{
&quot;id&quot;: 71225,
&quot;dataId&quot;: &quot;e1&quot;,
&quot;siteId&quot;: &quot;16104030&quot;,
&quot;base_code&quot;: &quot;xw001&quot;,
&quot;enviparamValue&quot;: 17,
&quot;enviparamUnit&quot;: &quot;℃&quot;,
&quot;recordTime&quot;: &quot;2024-11-21 14:59&quot;,
&quot;upperValue&quot;: &quot;30&quot;,
&quot;lowerValue&quot;: &quot;10&quot;,
&quot;recordDate&quot;: &quot;2024-11-21 14:59:03&quot;,
&quot;valueFlag&quot;: 2
}
],
&quot;list&quot;: {
&quot;max&quot;: 17.5,
&quot;min&quot;: 17,
&quot;count&quot;: 10,
&quot;avg&quot;: &quot;17.29&quot;
}
}
</code></pre>