商品晒单评价.md
2.6 KB
1、查询商品VIP列表
查询商品列表(/seller/shareOrder/shareOrderList)
请求参数(默认值都传null)
参数名称 | 参数类型 | 可否为空 | 示例 | 备注 |
---|---|---|---|---|
shopId | int | 否 | 店铺id | |
productSkn | int | 是 | productSkn | |
productName | string | 是 | 商品名称 | |
erpSkuId | int | 是 | 1212 | SKU |
hasImage | int | 是 | 是否有图 | 0代表无图,1代表有图 |
beginTime | string | 是 | 开始时间 | 格式2011-02-23 14:45:09 |
endTime | string | 是 | 结束时间 | 格式2011-02-23 14:45:09 |
brand_id | int | 是 | 品牌id | |
page | int | 否 | 页码 | |
size | int | 否 | 每页个数 |
注意,通用的头部没有列出。
请求示例 http://127.0.0.1:8088/platform/seller/shareOrder/shareOrderList
请求样例数据
{"page":1, "size":10, "productName":"简洁设计水洗牛","erpSkuId": "933124","productSkn": "51166910","hasImage":0, "beginTime":"2011-02-23 14:45:09", "endTime":"2017-08-23 14:45:11","shopId":20, "brand_id":1026}
正常返回:
{
"code": 200,
"data": {
"list": [
{
"brandName": "JNBY", // 品牌名
"colorName": "黑色", // 颜色
"content": "zxc12ezx", // 晒单内容
"createTime": "2016-05-17 14:10:15", // 晒单时间
"erpSkuId": "933124", // SKU
"productName": " JNBY 简洁设计水洗牛仔裤",
"productSkn": "51166910",
"sizeName": "S", // 尺码
"url": "" // 晒单图片url
},
{
"brandName": "JNBY",
"colorName": "黑色",
"content": "123zx",
"createTime": "2016-05-17 14:10:11",
"erpSkuId": "933124",
"productName": " JNBY 简洁设计水洗牛仔裤",
"productSkn": "51166910",
"sizeName": "S",
"url": "—"
},
{
"brandName": "JNBY",
"colorName": "黑色",
"content": "zxc",
"createTime": "2016-05-17 14:10:08",
"erpSkuId": "933124",
"productName": " JNBY 简洁设计水洗牛仔裤",
"productSkn": "51166910",
"sizeName": "S",
"url": "—"
}
],
"page": 1,
"size": 10,
"total": 3,
"totalPage": 1
},
"md5": "995b5496ec8eff97a41dc17b1aa04e34",
"message": "晒单列表查询"
}