**简要描述:** - 分销主页 **请求URL:** - ` api/distribution/index` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | **返回示例** ``` { "code": 1, "msg": "", "data": { "user": { "nickname": "林润-软件工程师??&", "avatar": "http:\/\/likeshop.yixiangonline.com\/uploads\/user\/avatar\/238b4ef55e0b48cf99aa62d2da3f613d.jpeg", "is_distribution": 1, "mobile": "13104997825", "first_leader": 43, "distribution_code": 123486 }, "leader": { "nickname": "用户43", "mobile": "13360045902" }, "fans": 1, "able_withdrawal": "0.00", "today_earnings": "0.00", "month_earnings": "0.00", "history_earnings": "1.10" }, "show": 0, "time": "0.303901" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |user |array |当前用户的信息 | |----nickname |string |昵称 | |----avatar |string |头像 | |----is_distribution |int |是否分销会员:1-是;0-否 | |----mobile |string |手机号 | |----distribution_code |string |邀请码 | |leader |array |邀请人信息 | |----nickname |string |昵称 | |----mobile |string |手机号 | |fans |int |粉丝数 | |able_withdrawal |float |可提现佣金 | |today_earnings |float |今日预估收益 | |month_earnings |float |本月预估收益 | |history_earnings |float |累计收益 | **备注**