暮色新版

暮色新版


取得设备详情

<p><strong>简要描述:</strong> </p> <ul> <li>取得设备详情</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://testing.zlmicro.com/index.php?g=App&amp;m=Diyapp&amp;a=getdevicedetail&amp;userid=26795&amp;barcode=2507300398242</code></li> <li><code>http://testing.zlmicro.com/muse/v1/device/detail</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;">userid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>用户userid</td> </tr> <tr> <td style="text-align: left;">sessionid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>sessionid</td> </tr> <tr> <td style="text-align: left;">barcode</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>{ "data":{ "Id":591, "Userid":44, "Title":"新产品", "BarCode":"0840503028329", "CateId":2, "FactoryId":1, "ClassicId":1, "Wireless":"2.4g", "CreateTime":1595061621, "UpdateTime":1595061621, "Status":0, "Pics":"https://minzheng.oss-cn-beijing.aliyuncs.com/apiupload/20200718/20200718231103381.jpg", "Func":"{"kegel":true,"classic":true,"music":false,"shake":false,"intera":true}" }, "response":{ "result":true, "errorCode":10000, "msg":"成功" } }</code></pre> <p><strong>返回参数说明</strong> </p> <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;">int</td> <td>状态码</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML