商铺列表
开发中GET
/store/merchant/lst{
"status": 200,
"message": "success",
"data": {
"count": 2,
"list": [
{
"mer_id": 55,
"mer_name": "小卖部",
"mark": "备注拉拉",
"mer_avatar": "",
"rate": "0.00",
"sales": 0,
"status": 1,
"create_time": "2020-04-16 17:36:51",
"product": [
{
"mer_id": 55,
"product_id": 120,
"store_name": "商品名称",
"image": "",
"price": "0.00"
},
{
"mer_id": 55,
"product_id": 121,
"store_name": "商品名称",
"image": "1111111f",
"price": "0.00"
},
{
"mer_id": 55,
"product_id": 123,
"store_name": "商品名称",
"image": "ssss",
"price": "1510.00"
}
]
},
{
"mer_id": 56,
"mer_name": "小红红小卖部",
"mark": "备注",
"mer_avatar": "",
"rate": "0.00",
"sales": 0,
"status": 1,
"create_time": "2020-04-17 11:17:04",
"product": []
}
]
}
}
请求参数
店铺搜索(关键字/店铺名/联系电话)
sales 销量排序 rate 信用分排序
状态 0关闭 1开启
示例代码
返回响应
{
"status": 0,
"message": "string",
"data": {
"count": 0,
"list": [
{
"mer_id": 0,
"mer_name": "string",
"status": 0,
"rate": "string",
"sales": "string",
"create_time": "string",
"recommend": [
{
"mer_id": 0,
"product_id": 0,
"store_name": "string",
"image": "string",
"price": "string"
}
]
}
]
}
}