暮色新版

暮色新版


设备列表

<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=getdevicelist</code></li> <li><code>http://testing.zlmicro.com/muse/v1/device/list</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>用户id</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> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "deviceList":[ { "Id":592, "Userid":44, "Title":"我的设备", "BarCode":"7787270137290", "CateId":2, "FactoryId":2, "ClassicId":0, "Wireless": "2.4g", "CreateTime":1595086837, "UpdateTime":1595086837, "Status":0, "Pics":"https://minzheng.oss-cn-beijing.aliyuncs.com/apiupload/20200718/20200718233909544.jpg", "Func":"kegel:false;classic:true;music:true;shake:false;intera:false;" }, ], "response":{ "result":true, "errorCode":10000, "msg":"成功" }, "user":{ "userid":44, "groupid":3, "username":"13544197373", "Tel":"13544197373", "Mobile":"13544197373", "Email":"", "nickname":"哦咯", "realname":"", "avatar":"/Uploads/user/5bd0433d204c7.png", "idnum":"526366700", "Sex":"1", "Zimu":"", "Birthday":"", "Type":0, "CreateTime":1526366700, "UpdateTime":1542609703, "Status":1, "LastLoginTime":0, "sessionid":"155384185928251670", "RegIp":"183.11.36.21", "IsNew":0 } }</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;">deviceList</td> <td style="text-align: left;">设备数组</td> <td>设备列表</td> </tr> <tr> <td style="text-align: left;">user</td> <td style="text-align: left;">user</td> <td>用户信息</td> </tr> </tbody> </table> <p>CateId:为产品类别,1:飞机杯,2:震动棒,3:跳蛋 FactoryId:工厂id ClassicId:经典模式细分。1:普通经典、2:伸缩经典:3:双马达独立控制经典 Wireless: 无线模块,&quot;2.4g&quot;或者&quot;ble&quot;。</p> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML