安装师傅添加设备
<h5>简要描述</h5>
<ul>
<li>电脑控电添加参数
<code>{ &quot;type&quot;: &quot;3&quot;, &quot;hardwareName&quot;: &quot;电脑#1#1号&quot;, &quot;hotelId&quot;: 49, &quot;groupId&quot;: &quot;546991&quot;, &quot;seatId&quot;: 1, &quot;hardwareStr&quot;: &quot;&quot;, &quot;macAddr&quot;: &quot;4D:0A:FD:E5:F7:D9&quot;, &quot;roomId&quot;: 73 }</code></li>
</ul>
<p>充电设备添加参数
<code>{ &quot;type&quot;: &quot;7&quot;, &quot;hardwareName&quot;: &quot;XG_731&quot;, &quot;hotelId&quot;: 49, &quot;id&quot;: 231, &quot;macAddr&quot;: &quot;38:3B:26:DD:95:F0&quot; }</code></p>
<h5>请求URL</h5>
<ul>
<li><code>/app/install/addRoomDevices</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">header</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">token</td>
<td style="text-align: left;">否</td>
<td>string</td>
<td>无</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code>{
&quot;macAddr&quot;: &quot;&quot;,
&quot;roomId&quot;: &quot;&quot;,
&quot;hotelId&quot;: &quot;&quot;,
&quot;seatId&quot;: &quot;&quot;,
&quot;type&quot;: &quot;&quot;,
&quot;groupId&quot;: &quot;&quot;,
&quot;hardwareStr&quot;: &quot;&quot;,
&quot;hardwareName&quot;: &quot;&quot;,
&quot;icCardId&quot;: &quot;&quot;,
&quot;gateWayType&quot;: &quot;&quot;,
&quot;lockType&quot;: &quot;&quot;,
&quot;deviceBrand&quot;: &quot;&quot;,
&quot;id&quot;: &quot;&quot;
}
</code></pre>
<h5>成功返回示例</h5>
<pre><code>{
&quot;code&quot;: &quot;integer&quot;,
&quot;data&quot;: {
&quot;id&quot;: &quot;integer&quot;
},
&quot;msg&quot;: &quot;string&quot;
}
</code></pre>
<h5>成功返回示例的参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">integer</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">object</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">integer</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>无</td>
</tr>
</tbody>
</table>