文档
测试

领养页宠物列表接口

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

接口描述

start => 开始页数

说明 / 示例

```js 请求示例 GET => http://127.0.0.1:3000/api/adopt?start=1 响应示例 { code: 1000, msg: '', data: { current: 1, //当前页 size: 8, //本页数据总数 total: 207,//数据库所有数据数量 pets: [ { id: '18350385-1a42-4350-adcf-69fe50536096',//宠物编号 img: 'http://scjou.cn/dog10',//图片地址 names: '三汪',//宠物名 sex: 0,//宠物性别 0 母 1 公 age: '1岁半', //年龄 variety: '藏獒' // 宠物品种 }, { id: 'b0d8ba12-33f8-40e3-b759-265a1efc7836', img: 'http://scjou.cn/cat20', names: '三喵', sex: 1, age: '9个月', variety: '波斯猫' }, {id : '', img : '', names : '', sex : '', age : '', variety : ''}, {id : '', img : '', names : '', sex : '', age : '', variety : ''}, …… …… ] } } ```