文档
测试

按照订单类型进行筛选

GET
http://127.0.0.1:3000/api/order?select= &start=

接口描述

按照订单类型进行筛选select可以是0,1,2 0为买宠物,1为买商品,2为领养记录 start 开始页数

说明 / 示例

```js 请求示例 http://127.0.0.1:3000/api/order?select=0&start=1 //0为买宠物,1为买商品,2为领养记录(type) 响应示例(下面仅仅以0举例分析) { code: 1000, msg: '', datas: { current: 1, size:8, total:25, orders: [{ id:'2201', client:'111', time:'1595652955',//时间戳 pay: 2000.01, status:0, //订单状态,0为未收到,1为未收到 type:0 },{ id:'2202', client:'222', time:'1595652955',//时间戳 pay: 2000.01, status:0, //订单状态,0为未收到,1为未收到 type:0 },{ id:'2203', client:'333', time:'1595652955',//时间戳 pay: 2000.01, status:0, //订单状态,0为未收到,1为未收到 type:0 }] } } ```