NB 智能锁接口对接

对外开放api文档


添加公司

<p>[TOC]</p> <h3>请求URL</h3> <ul> <li><code>company</code></li> </ul> <h3>请求方式</h3> <ul> <li><code>POST</code></li> </ul> <p>&gt; 注意:无需token,可直接访问</p> <h3>请求参数</h3> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>companyName</td> <td>是</td> <td>String</td> <td>公司名称</td> </tr> <tr> <td>companyAddress</td> <td>是</td> <td>String</td> <td>公司地址</td> </tr> <tr> <td>contactsName</td> <td>是</td> <td>String</td> <td>负责人姓名</td> </tr> <tr> <td>contactsPhoneNumber</td> <td>是</td> <td>String</td> <td>负责人电话号码</td> </tr> </tbody> </table> <h3>请求示例</h3> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=f59ae21208eeff4209ca0fdfee8df6d2&amp;amp;file=file.png" alt="" /></p> <h3>返回参数</h3> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">String</td> <td style="text-align: left;">id</td> </tr> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">String</td> <td style="text-align: left;">token</td> </tr> </tbody> </table> <h3>返回示例</h3> <pre><code>{     &amp;quot;code&amp;quot;: 0,     &amp;quot;message&amp;quot;: &amp;quot;成功&amp;quot;,     &amp;quot;data&amp;quot;: {         &amp;quot;id&amp;quot;: &amp;quot;xxx&amp;quot;,         &amp;quot;token&amp;quot;: &amp;quot;xxxxxxxxxxxxx&amp;quot;     } }</code></pre>

页面列表

ITEM_HTML