2、websocket连接
<h4>请求地址</h4>
<ul>
<li>正式环境: wss://www.lampmind.com/doorWs</li>
<li>测试环境: wss://sd.solar-iot.com/doorWs</li>
</ul>
<h4>请求方法</h4>
<p><strong>POST</strong></p>
<h4>请求参数</h4>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>说明</th>
<th>是否必须</th>
</tr>
</thead>
<tbody>
<tr>
<td>无</td>
</tr>
</tbody>
</table>
<h4>返回参数</h4>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>说明</th>
<th>必须存在</th>
</tr>
</thead>
<tbody>
<tr>
<td>data</td>
<td>string</td>
<td>json字符串(name 进出人员名称,type 人员进出类型 1进 2出,total 总的进入次数,today_count 今天进入次数,time 进出的时间,total_time 总时长)</td>
<td>Y</td>
</tr>
</tbody>
</table>
<h4>返回内容实例</h4>
<pre><code>{
{'name':'test','type':'1','time':'2018-11-22 08:00:00','total':'10','today_count':'2','total_time':'50h'}
}</code></pre>