机器云


3、查询心跳

<p><strong>请求URL:</strong> </p> <ul> <li><code>http://10.27.204.40:8006/api/wz_get_macbeat</code></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;">macno</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>{ "data":" { "macno":"868994036484447",//设备号 "last_beat":1555575270,//最后在线时间 "fd":1, "ip":"221.178.125.83", "port":47797 }" , "code":1, "msg":"获取成功" }</code></pre> <p><strong>注意data字段需要再次jsondecode才能获取上述结构</strong></p>

页面列表

ITEM_HTML