简要描述:
- 排行榜数据接口
请求域名:
- http://test.yunzshop.com
请求URL:
GET: plugin.ranking.api.index.index
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
getSwitch | 是 | int | 固定为1 |
plugin_type | 是 | string | 固定为income |
create_month | 是 | string | 月份,如202207,202112 |
###成功返回
{
"result": 1,
"msg": "",
"data": {
"getSet": {
"commission": "1",
"commission_title": "推客",
"commission_order": "分销订单",
"team_dividend": "1",
"team_dividend_title": "经销商",
"staffLevel": "1",
"staffLevel_title": "招商员",
"merchantLevel": "1",
"merchantLevel_title": "招商中心",
"area_dividend": "1",
"area_dividend_title": "区域代理",
"income": "1",
"income_title": "收入",
"title": "",
"thumb": ""
},
"getSwitch": {
"list": {
"current_page": 1,
"data": [{
"total_amount": "0.78",
"member_id": 164964,
"status_name": "",
"pay_status_name": "",
"has_one_member": {
"uid": 164964,
"avatar": "\/static\/images\/photo-mr.jpg",
"nickname": "lay11",
"avatar_image": "http:\/\/zouye.yunzmall.com\/static\/images\/photo-mr.jpg",
"username": "lay11"
}
}, {
"total_amount": "0.63",
"member_id": 163779,
"status_name": "",
"pay_status_name": "",
"has_one_member": {
"uid": 163779,
"avatar": "http:\/\/thirdwx.qlogo.cn\/mmopen\/ajNVdqHZLLCKcv76uhjUbhwz6kSdz8Ftr9JicXMBWpNI55Gx0ylDHLRPicrubdFZ9Mg9rLKe0XcWaBaWevspU7XQtsGIyLOKlupBvUC4XeHOw\/132",
"nickname": "huan",
"avatar_image": "https:\/\/thirdwx.qlogo.cn\/mmopen\/ajNVdqHZLLCKcv76uhjUbhwz6kSdz8Ftr9JicXMBWpNI55Gx0ylDHLRPicrubdFZ9Mg9rLKe0XcWaBaWevspU7XQtsGIyLOKlupBvUC4XeHOw\/132",
"username": "huan"
}
}],
"first_page_url": "http:\/\/zouye.yunzmall.com\/addons\/yun_shop\/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http:\/\/zouye.yunzmall.com\/addons\/yun_shop\/api.php?page=1",
"next_page_url": null,
"path": "http:\/\/zouye.yunzmall.com\/addons\/yun_shop\/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 2,
"total": 2
},
"grand_total": "317.12",
"usable_total": "297.30",
"month_member_income": 0,
"countNO": 3,
"information": {
"uid": 164935,
"nickname": "13*******18"
}
}
}
}
###返回参数 (返回推客 经销商管理 招商 区域分红 分销消费积分 业绩奖励 新业绩奖励数据)
参数名 | 类型 | 说明 | |
---|---|---|---|
grand_total | decimal | 累计收益 | |
usable_total | decimal | 可以提现 | |
list | arr | 排行列表 | |
list[data].total_amount | 排行金额 | ||
list[data].member_id | 会员ID | ||
list[data].has_one_member | 排行会员信息 | ||
countNO | int | 个人排名 | |
information | object | 个人信息 |