首页商品列表
/home/products
请求参数
Query 参数
ids
string
商品id集合
selectId
string
分类ID
selectType
string
必需
类型|0,1(0自动选择,1手动选择)
newsOrder
string
可选
最新排序|desc,asc
salesOrder
string
可选
销量排序|desc,asc
page
string
分页参数起始值
limit
string
分页数步长值
Body 参数application/json
object {0}
示例
{}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON
数据结构
status
number
可选
msg
string
可选
data
object {1}
可选
list
array [object {16}]
可选
示例
{
"status": 0,
"msg": "string",
"data": {
"list": [
{
"id": 0,
"store_name": "string",
"cate_id": "string",
"image": "string",
"sales": "string",
"price": "string",
"stock": 0,
"activity": [
"string"
],
"ot_price": "string",
"spec_type": 0,
"recommend_image": "string",
"unit_name": "string",
"is_vip": 0,
"vip_price": "string",
"description": "string",
"checkCoupon": true
}
]
}
}
修改时间 2 年前