文档
测试

按照商品所属栏目进行筛选接口

GET
http://127.0.0.1:3000/api/goods?topic=&start=

接口描述

topic 栏目编号 start 开始页数

说明 / 示例

```js 请求示例 http://127.0.0.1:3000/api/goods?topic=00001&start=1 { code: 1000, msg: '', datas:{ current: 1, size: 8, total: 21, goods: [ { id:'2221', topic:'猫', title:'猫砂', img:'http://www.hahdioho.jpg', sales:100000, depart:0, //猫狗分类,1为狗,0为猫咪 price:200 },{ id:'2222', topic:'猫', title:'猫粮', img:'http://www.hoho.jpg', sales:100000, depart:0, //猫狗分类,1为狗,0为猫咪 price:200 }] } …… …… ……… … } ```