历史记录查询
<p><strong>迭代版本:</strong>2.8.26(新增)</p>
<p><strong>简要描述:</strong></p>
<ul>
<li>历史记录查询</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><a href="http://aky.mynatapp.cc/chronic/nutritionRecord/history">http://aky.mynatapp.cc/chronic/nutritionRecord/history</a></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST/GET</li>
<li>Content-Type:application/form</li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">startTime</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>开始时间</td>
</tr>
<tr>
<td style="text-align: left;">endTime</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>结束时间</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"retcode": "0000",
"errMsg": "操作成功",
"body": {
"counts": {
"normal": "1"
},
"record": {
"2019-11-12": {
"standardEnergy": "600.0",
"level": "0",
"actualEnergy": "300.0",
"type": "0"
}
}
}
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<p>|参数名|类型|说明|</p>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>