ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**简要描述:** - 分销推广主页 **请求URL:** - `/shopapi/distribution/index` **请求方式:** - GET **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "is_distributon": 1, "show_apply_page": 0, "user": { "id": 1, "nickname": "tab", "avatar": "http://www.likeshopb2cv3.localhost/tab1.jpg", "first_leader": 2, "user_earnings": "9.00", "code": "AAA" }, "leader": { "nickname": "测试2" }, "fans": 0, "able_withdrawal": "9.00", "code": "AAA", "today_earnings": 0, "month_earnings": 0, "history_earnings": 10 } } ``` **返回参数:** |参数名 |类型 |说明 | | ------ | ------ | ------ |------ | |is_distributon |integer | 0-普通会员 1-分销会员 | |show_apply_page |integer | 0-不显示申请分销页 1-显示申请分销页 | |user |object |当前用户信息 | |> id |integer |用户id | |> nickname |string |名称 | |> avatar |string |头像 | |> first_leader |int |当前用户上级id | |> code |string |当前用户邀请码 | |> user_earnings |decimal |当前用户可提现佣金 | |leader |object |上级信息| |fans |int |粉丝数(一级/二级) | |able_withdrawal |decimal |可提现佣金 | |code |int |当前用户邀请码 | |today_earnings |decimal |今日预估收益(未返佣金) | |month_earnings |decimal |本月预估收益(未返佣金) | |history_earnings |decimal |累计收益(已返佣金) |