文档
测试

商品LIST

POST
localhost:8084/dld/goods/list

请求参数

参数名
类型
描述
必填
keyword
string
搜索关键词
必填
currentPage
int
页码
必填
pageSize
int
每页多少条数据
必填
grounding
int
上架状态
必填
category
int
分类
必填

成功响应参数

参数名
类型
描述
必填
code
string
success/fail
必填
message
string
返回描述
必填
list
必填
total
int
总数
必填

返回的数据

{ "code": "success", "message": "查询成功", "data": { "records": [ { "id": 1, "lid": null, "goodsName": "十万", "category": "书籍", "postageGroup": "法师", "image": "1fasfas", "goodsSorting": "数据", "description": "发个", "stock": 20, "price": 11, "grounding": "发卡行", "firstTaking": 50, "followTaking": 5, "beProxy": true, "subsidy": 11, "createTime": "2020-09-23 10:10:45", "lastupdate": "2020-09-23 10:10:48", "keyword": null, "goodSkusList": [ { "id": null, "goodId": null, "name": "11", "price": 11, "proPrice": null, "num": 1, "createTime": "2020-09-23 10:10:45", "lastupdate": "2020-09-23 10:10:48" }, { "id": null, "goodId": null, "name": "22", "price": 22, "proPrice": null, "num": null, "createTime": "2020-09-23 10:10:45", "lastupdate": "2020-09-23 10:10:48" } ] }, { "id": 2, "lid": null, "goodsName": "afa", "category": "奥术防护", "postageGroup": null, "image": null, "goodsSorting": null, "description": null, "stock": null, "price": null, "grounding": null, "firstTaking": null, "followTaking": null, "beProxy": false, "subsidy": null, "createTime": null, "lastupdate": null, "keyword": null, "goodSkusList": [] }, { "id": 3, "lid": null, "goodsName": "十", "category": "商品分类", "postageGroup": "邮费组成", "image": null, "goodsSorting": null, "description": null, "stock": null, "price": null, "grounding": null, "firstTaking": null, "followTaking": null, "beProxy": false, "subsidy": null, "createTime": null, "lastupdate": null, "keyword": null, "goodSkusList": [] }, { "id": 4, "lid": null, "goodsName": "李狗蛋儿", "category": null, "postageGroup": null, "image": null, "goodsSorting": null, "description": null, "stock": null, "price": null, "grounding": null, "firstTaking": null, "followTaking": null, "beProxy": false, "subsidy": null, "createTime": null, "lastupdate": null, "keyword": null, "goodSkusList": [] }, { "id": 5, "lid": null, "goodsName": "苹果MAX", "category": "商品分类", "postageGroup": null, "image": null, "goodsSorting": null, "description": "商品描述", "stock": null, "price": null, "grounding": null, "firstTaking": null, "followTaking": null, "beProxy": false, "subsidy": null, "createTime": null, "lastupdate": null, "keyword": null, "goodSkusList": [] } ], "total": 6, "size": 10, "current": 1, "searchCount": true, "pages": 1 } }