文档
测试

购买页宠物列表接口

GET
http://127.0.0.1:3000/api/pet?start=

接口描述

start 开始页数

说明 / 示例

```js 请求示例 GET => http://127.0.0.1:3000/api/pet?start=1 响应示例 { code: 1000, msg: '', data: { current: 1, //当前页 size: 8, //本页数据总数 total: 700,//数据库所有数据数量 pets: [ { id: '6d593b38-209b-4349-9c0e-cae5b773fb45',//宠物编号 img: 'http://scjou.cn/dog1',//图片地址 sales: 5, names: '二汪',//宠物名 sex: 1,//宠物性别 0 母 1 公 age: '2岁', //年龄 variety: '哈士奇', // 宠物品种 price: 2499.00 //价格 }, { id: '912f2aa8-f2ac-4f2d-92e5-17aa144977d8', img: 'http://scjou.cn/cat2', sales: 5, names: '二喵', sex: 0, age: '1岁', variety: '加菲猫', price: 2679.00 }, {id : '', img : '', sales: '', names : '', sex : '', variety : ''}, {id : '', img : '', sales: '', names : '', sex : '', variety : ''}, …… …… ] } } ```