运营商-售货机接口文档

undefined


订单列表

<h5>简要描述</h5> <ul> <li>无</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{service}}/order/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>请求参数示例</h5> <pre><code>{ "pay_status": "", "verify": "", "create_time": "", "page": "1", "pageSize": "10" } </code></pre> <h5>json字段说明</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;">pay_status</td> <td style="text-align: left;">否</td> <td>string</td> <td>支付状态</td> </tr> <tr> <td style="text-align: left;">verify</td> <td style="text-align: left;">否</td> <td>string</td> <td>是否审核</td> </tr> <tr> <td style="text-align: left;">create_time</td> <td style="text-align: left;">否</td> <td>string</td> <td>筛选时间</td> </tr> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">否</td> <td>string</td> <td>默认为第一页</td> </tr> <tr> <td style="text-align: left;">pageSize</td> <td style="text-align: left;">否</td> <td>string</td> <td>默认显示10条数据</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ "code": 10000, "data": { "list": [ { "id": 5472154,订单主键ID "uid": 0,用户ID "order_no": "T240115095149373033",订单号 "device_id": 4925,设备ID "discount": 0, "amount": 0,订单金额 "lock_status": 0, "goods_status": 0, "pay_status": 0,支付状态 "pay_type": 8,订单类型 "verify": 0,是否审核 "create_time": 1705283509, "goods": [] }, { "id": 5472153, "uid": 274225, "order_no": "T240111100025899586", "device_id": 4925, "discount": 0, "amount": 18.2, "lock_status": 2, "goods_status": 1, "pay_status": 1, "pay_type": 7, "verify": 2, "create_time": 1704938425, "goods": [ { "id": 9287830, "goods_id": 3391, "goods_sku": "2100100002193", "count": 2, "amount": 4, "banner": "http://asset.dmg.com/goods/6389aa6abed19.png" }, { "id": 9287831, "goods_id": 552, "goods_sku": "6901496888025", "count": 1, "amount": 4, "banner": "http://asset.dmg.com/goods/6258d9e08e3fd.png" }, { "id": 9287832, "goods_id": 2066, "goods_sku": "210010020417", "count": 1, "amount": 3, "banner": "http://asset.dmg.com/goods/63f812a7afa41.png" }, { "id": 9287833, "goods_id": 3151, "goods_sku": "6942542331287", "count": 2, "amount": 0.1, "banner": "http://asset.dmg.com/goods/6344c4ce43bb4.png" }, { "id": 9287834, "goods_id": 1544, "goods_sku": "DMG20220222214913", "count": 1, "amount": 3, "banner": "http://asset.dmg.com/goods/61657be426bb4.png" } ] }, { "id": 5472152, "uid": 274237, "order_no": "T240110134456814306", "device_id": 5228, "discount": 0, "amount": 0, "lock_status": 99, "goods_status": 0, "pay_status": 3, "pay_type": 2, "verify": 1, "create_time": 1704865496, "goods": [] }, { "id": 5472151, "uid": 41372, "order_no": "T240103140425169322", "device_id": 6901, "discount": 0, "amount": 0, "lock_status": 2, "goods_status": 1, "pay_status": 3, "pay_type": 2, "verify": 2, "create_time": 1704261865, "goods": [] } ], "total": 4 }, "msg": "Success" } </code></pre>

页面列表

ITEM_HTML