商铺商品列表
开发中GET
/store/merchant/product/lst/{id}{
"status": 200,
"message": "success",
"data": {
"count": 1,
"list": [
{
"product_id": 123,
"mer_id": 55,
"is_new": 1,
"keyword": "关键字13",
"brand_id": 116,
"image": "ssss",
"store_name": "商品名称",
"sort": 100,
"rate": "5",
"reply_count": 0,
"sales": 0,
"price": "1510.00",
"cost": "0.00",
"ot_price": "0.00",
"stock": 101,
"extension_type": 1,
"create_time": "2020-05-09 15:56:55",
"max_extension": 0,
"merchant": {
"mer_id": 55,
"mer_name": "小卖部"
}
}
]
}
}
请求参数
排序方式
'is_new', 新品
'price_asc', 价格升序
'price_desc', 价格降序
'rate', 评分
'sales' 销量
默认传空或不传
示例代码
返回响应
{
"status": 0,
"message": "string",
"data": {
"count": 0,
"list": [
{
"product_id": 0,
"mer_id": 0,
"is_new": 0,
"keyword": "string",
"brand_id": 0,
"image": "string",
"store_name": "string",
"sort": 0,
"rate": "string",
"reply_count": 0,
"sales": 0,
"price": "string",
"cost": "string",
"ot_price": "string",
"stock": 0,
"extension_type": 0,
"create_time": "string",
"max_extension": 0,
"merchant": {
"mer_id": 0,
"mer_name": "string"
}
}
]
}
}