佩戴者绑定,获取设备信息接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>佩戴者绑定,获取设备信息接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://wxapp.xunmingiot.com/smallProgram/get_device_info_bind/&lt;int:nu&gt;/</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
'mac': 'ok:ga:12:12:12:12:12',
'device_id': 10200081223456646,
'uid_admin': 'u123456789',
}
404时 {'detail': '不能绑定,参数错误'}</code></pre>
<p><strong>返回参数说明</strong> </p>
<ul>
<li>
<p>404时,给用户提示detail中的内容</p>
<p><strong>备注</strong> </p>
</li>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>