产品列表(新)
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://tewutu.lantin.me/serve-connect/app-api/v1/device/category</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">字段名</th>
<th style="text-align: left;">示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Authorization</td>
<td style="text-align: left;">Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRoZW50aWNhdGlvbk1ldGhvZCI6Im1vYmlsZSIsInVzZXJfbmFtZSI6IjE4ODY4MTk1NjAwIiwic2NvcGUiOlsiYWxsIl0sInVzZXJJZCI6MjQsImp0aSI6IjUzYzUyMmRjLWUyYTQtNGRmYy1hNTNiLTIxZGRiN2RhNDcxNSIsImNsaWVudF9pZCI6ImVhZ2UtYXBwIiwidXNlcm5hbWUiOiIxODg2ODE5NTYwMCJ9.fQRHeIyUDXSAqYxmMRdnvFgcp2_kzS2_SmzPB2QK1ywQqbVnHoWMwVSpp9cfv5URM2ADnQoobxC_JhhVRbfCXWzKDB2ZPTKbGwLE0eeXuKyK0AtyMLDOTz2rgANgJwIpiNd7vKGjSlXY_rzMT2TOi7OZShUQJmeK89VNC0rktXtVdR9NRtHVaAxBj_llYJQX94dmrLFdksdsqPk54FhKSUOwy_LBBwEhPJe_OYtXVS9yav1ePAaQ939QuS_biYgyK0kZfnafD-UgKKX226soJB8BZ4lz0PVrSZrFC3qbklsBgNZzS_w7_QNd69IGx95ZqUHl5902Od5ZBquvRiLMLQ</td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"code": "00000",
"data": [
{
"id": "27",
"type": 2,
"name": "智能开关",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/e0cf6ff2f82f48c094e5340dde6f426c_400*400.png",
"categoryId": null,
"categoryName": "智能开关",
"firstCategoryName": "智能开关",
"firstCategoryId": "17",
"items": null
},
{
"id": "29",
"type": 2,
"name": "智能插座",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/5975f0005a6b434fa1f1b1f4e0caffe8_750*814.png",
"categoryId": null,
"categoryName": "插座",
"firstCategoryName": "智能插座",
"firstCategoryId": "2",
"items": null
},
{
"id": "30",
"type": 2,
"name": "空气净化器",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/4f0024abf5b6472eb6be8a18090c52bd_1200*1200.png",
"categoryId": null,
"categoryName": "电器",
"firstCategoryName": "生活电器",
"firstCategoryId": "19",
"items": null
},
{
"id": "31",
"type": 2,
"name": "摄像头",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/26ddb0ec0aa14b148dbfbd0ba69e0237_400*400.png",
"categoryId": null,
"categoryName": "摄像头",
"firstCategoryName": "安防",
"firstCategoryId": "14",
"items": null
},
{
"id": "34",
"type": 2,
"name": "智能伴侣",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/dc48b2a1482f4b2ab0634310d81aca3e_1080*1080.png",
"categoryId": null,
"categoryName": "电器",
"firstCategoryName": "生活电器",
"firstCategoryId": "19",
"items": null
},
{
"id": "2",
"type": 0,
"name": "空调",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/6bd695eaaf9a4b249314e35f8ebd646e_400*400.png",
"categoryId": "8",
"categoryName": "空调",
"firstCategoryName": "空调",
"firstCategoryId": "1",
"items": []
},
{
"id": "38",
"type": 1,
"name": "开关",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/05727cd6b93c4b8fa304dcac3242bfa0_2400*2400.png",
"categoryId": "18",
"categoryName": "智能开关",
"firstCategoryName": "智能开关",
"firstCategoryId": "17",
"items": [
{
"gmtCreate": "2022-09-30 14:20:40",
"gmtModified": "2022-09-30 14:20:40",
"deleted": 0,
"id": "6",
"remoteId": "38",
"name": "单控开关",
"itemNo": "XXA",
"size": 1,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/b1a8c5dc731c4f8b9904e6251b0ac98d_2400*2400.png",
"guideMsg": "长按开关并保持5秒"
},
{
"gmtCreate": "2022-09-30 14:20:40",
"gmtModified": "2022-09-30 14:20:40",
"deleted": 0,
"id": "7",
"remoteId": "38",
"name": "双控开关",
"itemNo": "XXB",
"size": 2,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/86331b98d2b54207ad9abb313d52731c_2400*2400.png",
"guideMsg": "长按开关并保持5秒"
},
{
"gmtCreate": "2022-09-30 14:20:40",
"gmtModified": "2022-09-30 14:20:40",
"deleted": 0,
"id": "8",
"remoteId": "38",
"name": "三控开关",
"itemNo": "XXC",
"size": 3,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/67ddf97f2bd142b49af9786dd44fd8c8_2400*2400.png",
"guideMsg": "长按开关并保持5秒"
},
{
"gmtCreate": "2022-10-25 10:16:54",
"gmtModified": "2022-10-25 10:16:56",
"deleted": 0,
"id": "10",
"remoteId": "38",
"name": "四控开关",
"itemNo": "XXD",
"size": 4,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/878c3c64922a4bd0826faf7588ab51c3_400*400.png",
"guideMsg": "长按开关并保持5秒"
}
]
},
{
"id": "39",
"type": 1,
"name": "智能插座",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/94d82d069fce4edda12127dd048dbf88_750*814.png",
"categoryId": "7",
"categoryName": "插座",
"firstCategoryName": "智能插座",
"firstCategoryId": "2",
"items": [
{
"gmtCreate": "2022-11-08 21:38:54",
"gmtModified": "2022-11-08 21:38:54",
"deleted": 0,
"id": "17",
"remoteId": "39",
"name": "智能插座",
"itemNo": null,
"size": 1,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/05f4a32c953a44eaaaa63555f52b7559_750*814.png",
"guideMsg": "长按设备复位键5s,进入配网模式进行配对"
}
]
},
{
"id": "41",
"type": 1,
"name": "门磁传感器",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/8ed945e39a584c9086c6465835f49b14_400*400.png",
"categoryId": "10",
"categoryName": "传感器",
"firstCategoryName": "传感器",
"firstCategoryId": "21",
"items": [
{
"gmtCreate": "2022-11-08 21:31:11",
"gmtModified": "2022-11-08 21:31:11",
"deleted": 0,
"id": "11",
"remoteId": "41",
"name": "门磁传感器",
"itemNo": null,
"size": 1,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/17b2d167ccfa423cae588f52f92ef09b_1000*1000.gif",
"guideMsg": "使用卡针插入复位孔5秒,进入配对模式"
}
]
},
{
"id": "52",
"type": 0,
"name": "空气盒子",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/242c1cc1d681488fb6aa80f4de585204_1200*1200.png",
"categoryId": "10",
"categoryName": "传感器",
"firstCategoryName": "传感器",
"firstCategoryId": "21",
"items": [
{
"gmtCreate": "2023-02-18 15:35:53",
"gmtModified": "2023-02-18 15:35:53",
"deleted": 0,
"id": "19",
"remoteId": "52",
"name": "空气盒子",
"itemNo": null,
"size": 0,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/82e6742f43254cebbc03bb6df7a3d711_1000*1000.gif",
"guideMsg": "使用卡针插入复位孔5秒,进入配对模式"
}
]
},
{
"id": "42",
"type": 1,
"name": "人体传感器",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/af80e68abaf34deeb7a61ac286925c38_400*400.png",
"categoryId": "10",
"categoryName": "传感器",
"firstCategoryName": "传感器",
"firstCategoryId": "21",
"items": [
{
"gmtCreate": "2022-11-08 21:37:44",
"gmtModified": "2022-11-08 21:37:44",
"deleted": 0,
"id": "16",
"remoteId": "42",
"name": "人体传感器",
"itemNo": null,
"size": 1,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/370300cfa52944d4911379d797c390a4_1000*1000.gif",
"guideMsg": "使用卡针插入复位孔5秒,进入配对模式"
}
]
},
{
"id": "40",
"type": 1,
"name": "烟雾报警器",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/4d52219800c649bfb328250c37653ec9_400*400.png",
"categoryId": "10",
"categoryName": "传感器",
"firstCategoryName": "传感器",
"firstCategoryId": "21",
"items": [
{
"gmtCreate": "2022-11-08 21:34:18",
"gmtModified": "2022-11-08 21:34:18",
"deleted": 0,
"id": "13",
"remoteId": "40",
"name": "烟感报警器",
"itemNo": null,
"size": 1,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/06caef8d443747fd899626ffaa0c9f46_1000*1000.gif",
"guideMsg": "长按报警器背面复位键5S,进入配网模式进行配对"
}
]
},
{
"id": "48",
"type": 1,
"name": "人体(光照)传感器",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/406dd9e555734aad92f54cd0bcca61cd_400*400.png",
"categoryId": "10",
"categoryName": "传感器",
"firstCategoryName": "传感器",
"firstCategoryId": "21",
"items": [
{
"gmtCreate": "2022-11-08 21:33:08",
"gmtModified": "2022-11-08 21:33:08",
"deleted": 0,
"id": "12",
"remoteId": "48",
"name": "人体(光照传感器)",
"itemNo": null,
"size": 1,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/ea88ea362d8a4a2caecdb657dfdb9358_1000*1000.gif",
"guideMsg": "长按感应器背面复位按钮5S,进入配网模式进行配对"
}
]
},
{
"id": "46",
"type": 1,
"name": "水浸传感器",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/ab192da62a304db7bf19ef8d18783140_1000*1000.png",
"categoryId": "10",
"categoryName": "传感器",
"firstCategoryName": "传感器",
"firstCategoryId": "21",
"items": [
{
"gmtCreate": "2022-11-08 21:35:19",
"gmtModified": "2022-11-08 21:35:19",
"deleted": 0,
"id": "14",
"remoteId": "46",
"name": "水浸报警器",
"itemNo": null,
"size": 1,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/c6c9893dce514eebbb6cdf9193983569_1000*1000.gif",
"guideMsg": "长按报警器复位按钮5S,进入配网模式进行配对"
}
]
},
{
"id": "47",
"type": 1,
"name": "彩色灯",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/01cf4e48f5984fc7b1f6a6528cb3ca71_400*400.png",
"categoryId": "9",
"categoryName": "灯光",
"firstCategoryName": "智能灯光",
"firstCategoryId": "3",
"items": [
{
"gmtCreate": "2022-11-22 15:40:22",
"gmtModified": "2022-11-22 15:40:22",
"deleted": 0,
"id": "18",
"remoteId": "47",
"name": "彩灯",
"itemNo": null,
"size": 0,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/89dfd26fc8f243758716c81f05256336_400*400.png",
"guideMsg": "长按设备复位键5s,进入配网模式进行配对"
}
]
},
{
"id": "51",
"type": 1,
"name": "冷暖灯",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/5b9ceb07f1744c7c809c750cc1aadec6_400*400.png",
"categoryId": "9",
"categoryName": "灯光",
"firstCategoryName": "智能灯光",
"firstCategoryId": "3",
"items": []
},
{
"id": "49",
"type": 1,
"name": "灯带",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/6cb3993676e24dad86a2bc5d37a4ed2a_400*400.png",
"categoryId": "9",
"categoryName": "灯光",
"firstCategoryName": "智能灯光",
"firstCategoryId": "3",
"items": []
},
{
"id": "44",
"type": 1,
"name": "燃气报警器",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/75ee081934fb45b5b5638c098757591c_400*400.png",
"categoryId": "28",
"categoryName": "报警器",
"firstCategoryName": "安防",
"firstCategoryId": "14",
"items": [
{
"gmtCreate": "2022-11-08 21:36:37",
"gmtModified": "2022-11-08 21:36:37",
"deleted": 0,
"id": "15",
"remoteId": "44",
"name": "燃气报警器",
"itemNo": null,
"size": 1,
"type": 0,
"guidePics": "https:\/\/cloud.lantin.me\/pro\/cloud\/d46499fbf6f24e49a3fcc8b3d7ee8077_1000*1000.gif",
"guideMsg": "使用卡针插入复位孔5秒,进入配对模式"
}
]
},
{
"id": "37",
"type": 1,
"name": "智能窗帘",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/7c51e30d44764de5913716258d18febd_400*400.png",
"categoryId": "29",
"categoryName": "窗帘",
"firstCategoryName": "智能窗帘",
"firstCategoryId": "12",
"items": []
},
{
"id": "36",
"type": 0,
"name": "加湿器",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/b9643112c3c34b7d955afc5fef36e114_400*400.png",
"categoryId": "30",
"categoryName": "电器",
"firstCategoryName": "生活电器",
"firstCategoryId": "19",
"items": []
},
{
"id": "12",
"type": 0,
"name": "热水器",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/88364010c00f45e3976f98760cf038e9_400*400.png",
"categoryId": "30",
"categoryName": "电器",
"firstCategoryName": "生活电器",
"firstCategoryId": "19",
"items": []
},
{
"id": "13",
"type": 0,
"name": "空气净化器",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/b687f04b89d64184a52e74aba3757243_400*400.png",
"categoryId": "30",
"categoryName": "电器",
"firstCategoryName": "生活电器",
"firstCategoryId": "19",
"items": []
},
{
"id": "3",
"type": 0,
"name": "风扇",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/cec9ed75f574435c99cb1ae4d57db618_400*400.png",
"categoryId": "30",
"categoryName": "电器",
"firstCategoryName": "生活电器",
"firstCategoryId": "19",
"items": []
},
{
"id": "35",
"type": 0,
"name": "暖风机",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/6bfdafdbefd94be1b45165c562f517ac_400*400.png",
"categoryId": "30",
"categoryName": "电器",
"firstCategoryName": "生活电器",
"firstCategoryId": "19",
"items": []
},
{
"id": "1",
"type": 0,
"name": "电视",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/09e30098640b4f9ab7933f0e64027dd2_400*400.png",
"categoryId": "31",
"categoryName": "电视\/投影",
"firstCategoryName": "电视投影",
"firstCategoryId": "20",
"items": []
},
{
"id": "11",
"type": 0,
"name": "互联网盒子",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/0c6c5f4565fd46a2a6ff6d2c9ec32076_400*400.png",
"categoryId": "31",
"categoryName": "电视\/投影",
"firstCategoryName": "电视投影",
"firstCategoryId": "20",
"items": []
},
{
"id": "4",
"type": 0,
"name": "投影仪",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/f621240d91ef4f14a0b96a0a1ab4c9e2_400*400.png",
"categoryId": "31",
"categoryName": "电视\/投影",
"firstCategoryName": "电视投影",
"firstCategoryId": "20",
"items": []
},
{
"id": "10",
"type": 0,
"name": "IPTV",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/5f8335eef7ab42209222747b0c7edfc4_400*400.png",
"categoryId": "31",
"categoryName": "电视\/投影",
"firstCategoryName": "电视投影",
"firstCategoryId": "20",
"items": []
},
{
"id": "5",
"type": 0,
"name": "机顶盒",
"pic": "https:\/\/cloud.lantin.me\/pro\/cloud\/5a10f06ac9104c559c044b7c007f2fb6_400*400.png",
"categoryId": "31",
"categoryName": "电视\/投影",
"firstCategoryName": "电视投影",
"firstCategoryId": "20",
"items": []
}
],
"msg": "ok"
}
</code></pre>
<h5>成功返回示例的参数说明</h5>
<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;">id</td>
<td style="text-align: left;">string</td>
<td>proId/remoteId</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">string</td>
<td>0 红外 1 网关类遥控器 2 wifi</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">string</td>
<td>名称</td>
</tr>
<tr>
<td style="text-align: left;">pic</td>
<td style="text-align: left;">string</td>
<td>图片</td>
</tr>
<tr>
<td style="text-align: left;">categoryId</td>
<td style="text-align: left;">object</td>
<td>二级分类ID</td>
</tr>
<tr>
<td style="text-align: left;">categoryName</td>
<td style="text-align: left;">string</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">firstCategoryName</td>
<td style="text-align: left;">string</td>
<td>一级分类ID</td>
</tr>
<tr>
<td style="text-align: left;">firstCategoryId</td>
<td style="text-align: left;">string</td>
<td>无</td>
</tr>
<tr>
<td style="text-align: left;">items</td>
<td style="text-align: left;">object</td>
<td>无</td>
</tr>
</tbody>
</table>