运营商-售货机接口文档

undefined


设备升级包列表

<h5>简要描述</h5> <ul> <li>无</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{service}}/device-action/package-list</code> </li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>Header</h5> <table> <thead> <tr> <th style="text-align: left;">header</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">是</td> <td>string</td> <td>无</td> </tr> </tbody> </table> <h5>请求Body参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">deviceId</td> <td style="text-align: left;">是</td> <td>string</td> <td>设备主键Id</td> </tr> <tr> <td style="text-align: left;">appId</td> <td style="text-align: left;">是</td> <td>string</td> <td>安装包主键id</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ "code": 10000, "data": [ { "id": 255, "name": "219", "version": 219, "status": 1, "remark": "", "create_time": 1692777931, "update_time": 1692777931, "file": "64e30c1f78222.apk(47.96MB)" }, { "id": 254, "name": "spx_31", "version": 31, "status": 1, "remark": "修复更换货道商品BUG", "create_time": 1659496336, "update_time": 1659496336, "file": "spx_31.apk(8.75MB)" }, { "id": 252, "name": "YT_DMGT_102", "version": 102, "status": 1, "remark": "CASA NT 版本", "create_time": 1657504518, "update_time": 1657504518, "file": "app-debug.apk(48.29MB)" }, { "id": 251, "name": "YT_DMGT_211", "version": 211, "status": 1, "remark": "最新摄像头版本", "create_time": 1657503664, "update_time": 1657503664, "file": "app-debug.apk(48.29MB)" }, { "id": 233, "name": "DMGT_LB_NT_17", "version": 17, "status": 1, "remark": "珞宾主板+静态+200W摄像头动态m, 支持自动重启", "create_time": 1654677661, "update_time": 1654677661, "file": "DMGT_LB_NT_17.apk(6.7MB)" }, { "id": 197, "name": "dmg_8", "version": 8, "status": 1, "remark": "双门柜 竖屏", "create_time": 1652839927, "update_time": 1652839927, "file": "dmg_8.apk(6.77MB)" }, { "id": 191, "name": "SPX_G_30", "version": 30, "status": 1, "remark": "兼容各种类型主板,兼容Andorid 4.4版本,支持老版本so库", "create_time": 1652694010, "update_time": 1652694010, "file": "spx_30.apk(8.29MB)" }, { "id": 188, "name": "DMG_892", "version": 892, "status": 1, "remark": "59副本", "create_time": 1652416452, "update_time": 1652416452, "file": "dmg_892.apk(4.83MB)" }, { "id": 187, "name": "DMG_59", "version": 59, "status": 1, "remark": "在58基础上去掉日志上报", "create_time": 1652416305, "update_time": 1652416305, "file": "dmg_59.apk(4.83MB)" }, { "id": 183, "name": "DMGT301_GY_200_24N", "version": 301, "status": 1, "remark": "24超窄屏+国仪主板+200W CAM", "create_time": 1652183532, "update_time": 1652183532, "file": "dmg_301.apk(46.31MB)" }, { "id": 165, "name": "Wine_05", "version": 5, "status": 1, "remark": "酒柜_新增测试通道", "create_time": 1646814696, "update_time": 1646814696, "file": "wine_5.apk(6.72MB)" }, { "id": 158, "name": "DMGT891", "version": 891, "status": 1, "remark": "修复", "create_time": 1643461539, "update_time": 1655372459, "file": "DMGT891.apk(4.83MB)" } ], "msg": "Success" } </code></pre>

页面列表

ITEM_HTML