简要描述:
- 获取门店定金阶梯团活动排行榜
请求域名:
plugin.deposit-ladder.frontend.store.index.rank-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
id | 是 | int | 活动id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"rankList": [
{
"member_id": 163780,
"commission_sum": "5.00",
"buy_count": 1,
"has_one_members": {
"uid": 163780,
"nickname": "售后客服Carrot",
"avatar": "http://thirdwx.qlogo.cn/mmopen/p5fUqkEialtjCcDX90fqGFEDN3ay7dz6evb8dHpp8UmcShRGpOfJluxW9rPO3EaBL7TGMhSd74NVP34G7EFIwBwlNwOticXGoq/132",
"avatar_image": "https://thirdwx.qlogo.cn/mmopen/p5fUqkEialtjCcDX90fqGFEDN3ay7dz6evb8dHpp8UmcShRGpOfJluxW9rPO3EaBL7TGMhSd74NVP34G7EFIwBwlNwOticXGoq/132",
"username": "售后客服Carrot"
},
"rank_no": 1
},
{
"member_id": 163779,
"commission_sum": "7.00",
"buy_count": 2,
"has_one_members": {
"uid": 163779,
"nickname": "huan",
"avatar": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLCKcv76uhjUbhwz6kSdz8Ftr9JicXMBWpNI55Gx0ylDHLRPicrubdFZ9Mg9rLKe0XcWaBaWevspU7XQtsGIyLOKlupBvUC4XeHOw/132",
"avatar_image": "https://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLCKcv76uhjUbhwz6kSdz8Ftr9JicXMBWpNI55Gx0ylDHLRPicrubdFZ9Mg9rLKe0XcWaBaWevspU7XQtsGIyLOKlupBvUC4XeHOw/132",
"username": "huan"
},
"rank_no": 2
}
],
"member": {
"uid": 164934,
"nickname": "13226204088",
"avatar": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2019/04/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
"avatar_image": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2019/04/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
"username": "13226204088",
"commission_sum": 0,
"buy_count": 0,
"rank_no": "未上榜"
}
}
}
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
member | array | 会员信息 | |
member.nickname | string | 会员昵称 | |
member.avatar | string | 会员头像 | |
member.commission_sum | int | 分销收益 | |
member.buy_count | string | 会员邀请人数 | |
member.rank_no | int/string | 会员名次 | |
rankList | array | 排行榜信息 | |
rankList.has_one_members.nickname | string | 会员昵称 | |
rankList.has_one_members.avatar | string | 会员头像 | |
rankList.rank_no | int/string | 会员名次 | |
rankList.commission_sum | int | 分销收益 | |
rankList.buy_count | string | 会员邀请人数 |
错误时返回:
{
"result": 0,
"msg": "参数错误",
"data": []
}
{
"result": 0,
"msg": "该活动未开启排行榜",
"data": []
}