简要描述:
分类销量排名点击更多
请求URL:
GET/plugin.shop-statistics.backend.goods.search-goods-sales
请求参数说明:
参数名 | 类型 | 是否必须 | 说明 |
---|---|---|---|
page | int | 否 | 页码 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"name": "1",
"sales": 13869
},
{
"id": 3,
"name": "女装",
"sales": 26
},
{
"id": 5,
"name": "1",
"sales": 21
},
{
"id": 9,
"name": "五星级",
"sales": 10
},
{
"id": 11,
"name": "1",
"sales": 6
},
{
"id": 18,
"name": "22",
"sales": 3
},
{
"id": 13,
"name": "测试1",
"sales": 1
},
{
"id": 15,
"name": "test1",
"sales": 1
},
{
"id": 7,
"name": "手环",
"sales": 0
},
{
"id": 20,
"name": "1231",
"sales": 0
}
],
"from": 1,
"last_page": 2,
"per_page": 10,
"total": 16
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data.id | int | 分类id |
data.name | string | 分类名 |
data.sales | int | 分类销量 |