数据推送接口
<p>[TOC]</p>
<h3>请求说明</h3>
<p>> 请求地址:/pushData/aoTongData(待定)
请求方式:POST
数据格式:JSON
数据位于请求体里面:body</p>
<h3>1,参数说明</h3>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>sn</td>
<td>String</td>
<td>是</td>
<td>设备编号</td>
</tr>
<tr>
<td>type</td>
<td>String</td>
<td>是</td>
<td>报警类型</td>
</tr>
<tr>
<td>phone</td>
<td>String</td>
<td>否</td>
<td>报警人员的手机号</td>
</tr>
<tr>
<td>dateTime</td>
<td>String</td>
<td>是</td>
<td>报警时间 yyyy-MM-dd HH:mm:ss</td>
</tr>
</tbody>
</table>
<h3>2,报警类型说明</h3>
<table>
<thead>
<tr>
<th>报警类型(type)</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>Fallen</td>
<td>跌倒报警</td>
</tr>
<tr>
<td>Restricted</td>
<td>进入禁区报警</td>
</tr>
<tr>
<td>Fight</td>
<td>发生斗殴报警</td>
</tr>
<tr>
<td>Fire</td>
<td>发生火灾报警</td>
</tr>
<tr>
<td>Help Requested</td>
<td>求救报警</td>
</tr>
<tr>
<td>Restricted Zone</td>
<td>限制区域报警</td>
</tr>
<tr>
<td>Overstay</td>
<td>滞留报警</td>
</tr>
</tbody>
</table>
<h3>3,请求示例</h3>
<pre><code class="language-json">[
{
&quot;sn&quot;: &quot;23564AE9E0C09FEE&quot;,
&quot;dateTime&quot;: &quot;2024-10-17 09:55:49&quot;,
&quot;type&quot;: &quot;Help Requested&quot;,
&quot;phone&quot;: &quot;&quot;
}
]</code></pre>