💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**简要描述:** - 获取分销主页信息 **请求URL:** - ` /api/distribution/index ` **请求方式:** - GET **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | **返回示例** ``` { "code": 1, "show": 0, "msg": "获取成功", "data": { "user": { "nickname": "用户84057722", "avatar": "http://www.likeshopb2b2c.localhost/", "is_distribution": 1, "mobile": "13700000009", "first_leader": 13, "distribution_code": "6G8NC7", "earnings": 99 }, "leader": { "nickname": "用户30570296", "mobile": "13710900006" }, "fans": 3, "able_withdrawal": 99, "today_earnings": 8, "month_earnings": 19, "history_earnings": 88 } } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | | user | array| 当前用户信息 | | leader | array| 上级信息 | | fans | int| 粉丝数量(一级/二级) | | able_withdrawal | float| 可提现佣金 | | today_earnings | float| 今天预估收益(待返佣) | | month_earnings | float| 本月预估收益(待返佣) | | history_earnings | float| 历史收益(已结算) |