文档
测试

排行榜

POST
{{host}}/salable/rankgoodsdata

请求头

参数名
类型
描述
必填
token
string
必填

请求参数

参数名
类型
描述
必填
time_type
int
从公共搜索条件里time数组下的id, 没有选择默认为0
必填
start_time
string
开始时间 time_type=1的时候需要传入
必填
end_time
string
结束时间 time_type=1的时候需要传入
必填
city_code
string
城市code 多个使用,拼接
可选
brand_code
string
品牌code 多个使用,拼接
可选
dealer_code
string
经销商code 多个使用,拼接
可选
shop_code
string
店铺code 多个使用,拼接
可选
shop_level
string
店铺级别code 多个使用,拼接
可选
shop_category
string
店仓类别code 多个使用,拼接
可选
shop_nature
string
店仓性质code 多个使用,拼接
可选
page
int
页码 默认1
可选
pageSize
int
每页条数 默认10
可选
sort_type
int
1 销售额 2销售数量 默认1
可选
sort
int
1 从小到大 2从大到小 默认1
可选

说明 / 示例

``` { "code": 1, "msg": "成功", "data": { "rank": 1, //排名 "goods_name": "初心女款T恤短袖白色", //商品名称 "product_code": "5141179020", //商品款号 "sell_price": 269, //销售金额 "image_url": "https://shop.ke177.top/web/goods/thumb/KH001.png" , //商品缩略图 } } ```