🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** - 分销数据中心 **请求URL:** - `/adminapi/distribution.distribution_data/dataCenter` **请求方式:** - GET **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "earnings_data": { "cumulative_rebated_commission": 35, "today_rebated_commission": 0, "cumulative_unrefunded_commission": 0, "today_unrefunded_commission": 0 }, "distribution_data": { "distribution_members": 12, "distribution_member_percentage": 100 }, "top_member_earings": [ { "sum_earnings": "20.00", "user_id": 2, "avatar": "http://www.likeshopb2cv3.localhost/ ", "nickname": "测试2" }, { "sum_earnings": "10.00", "user_id": 1, "avatar": "http://www.likeshopb2cv3.localhost/tab1.jpg", "nickname": "tab" }, { "sum_earnings": "5.00", "user_id": 3, "avatar": "http://www.likeshopb2cv3.localhost/3.jpg", "nickname": "测试3" } ], "top_member_fans": [ { "id": 4, "sn": "100004", "nickname": "测试4", "avatar": "http://www.likeshopb2cv3.localhost/2.JPG", "fans": 3 }, { "id": 1, "sn": "100001", "nickname": "tab", "avatar": "http://www.likeshopb2cv3.localhost/tab1.jpg", "fans": 0 }, { "id": 2, "sn": "100002", "nickname": "测试2", "avatar": "", "fans": 0 }, { "id": 3, "sn": "100003", "nickname": "测试3", "avatar": "http://www.likeshopb2cv3.localhost/3.jpg", "fans": 0 }, { "id": 12, "sn": "33114421", "nickname": "13710904733", "avatar": "http://www.likeshopb2cv3.localhost/resource/image/shopapi/default/avatar.png", "fans": 0 } ] } } ``` **返回参数:** |参数名 |类型 |说明 | |:--| |earnings_data |object |佣金数据 | |earnings_data -> cumulative_rebated_commission |decimal |累计已返佣金 | |earnings_data -> today_rebated_commission|decimal |今日已返佣金 | |earnings_data -> cumulative_unrefunded_commission|decimal |总预估佣金 | |earnings_data -> today_unrefunded_commission|decimal |今日新增预估佣金 | |distribution_data |object |分销数据 | |distribution_data -> distribution_members |integer |分销会员数量 | |distribution_data -> distribution_member_percentage |百分比 |分销会员占比 | |top_member_earings |array |分销商收入排行榜 | |sum_earnings |decimal |已入账佣金 | |user_id |integer |用户id | |avatar |string | 用户头像| |nickname |string |用户昵称 | |top_member_fans |array |分销商下级人数排行榜 | |fans |int |下级人数 | |id |integer |用户id | |sn |string |用户编号 | |avatar |string | 用户头像| |nickname |string |用户昵称 |