新管理员观察者绑定接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>新管理员观察者绑定接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://wxapp.xunmingiot.com/smallProgram/device_mini_bind/</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">device_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>需要绑定的sn号</td>
</tr>
<tr>
<td style="text-align: left;">remark</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>404的时候:
{'detail': '该设备不存在!'}
{'detail': '您已绑定该设备,请勿重复绑定!'}
{'detail': '绑定失败,管理员拒绝绑定!'}
200的时候:
{'detail': ''}</code></pre>
<p><strong>返回参数说明</strong> </p>
<ul>
<li>
<p>404时,给用户提示detail中的内容</p>
<p><strong>备注</strong> </p>
</li>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>