文档
测试

首页接口

POST
https://zhishu.10pay.cn/api/index/index

请求头

参数名
类型
描述
必填
token
string
请求的token
必填

响应参数

参数名
类型
描述
必填
code
integer
响应状态 0失败,1成功
必填
msg
string
信息
必填
data
object
响应数据
必填
carousel
array
轮播图
必填
id
integer
轮播id
必填
image
string
轮播图url
必填
money
decimal
可提现余额
必填
platform
array
任务平台列表
必填
id
integer
id
必填
name
string
平台名称
必填
iconimg
string
平台图标
必填
member_price
decimal
会员量发布价
必填
people_price
decimal
拉新量发布价
必填
my_platform_money
decimal
当前平台我的收益
必填
platform_max_money
decimal
当前最高收益
必填
rank_number
integer
收益排行数量
必填
avatar_list
array
收益排行头像列表
必填
book_number
integer
推荐书单数量
必填
book_images
array
推荐书单封面
必填
activity
array
活动
必填
id
integer
id
必填
activity_name
string
活动名称
必填
activity_image
string
活动图片
必填
activity_url
string
活动链接
必填

示例

```json { "code": 1, "msg": "请求成功", "time": "1677473772", "data": { "carousel": [ { "id": 7, "image": "https://zhishu.10pay.cn/uploads/20230222/968cd54af1567d367a52871caa7dddd5.png", "jump_type": 0, "jump_url": "http://jhzb.cc/" }, { "id": 8, "image": "https://zhishu.10pay.cn/uploads/20230222/968cd54af1567d367a52871caa7dddd5.png", "jump_type": 4, "jump_url": "/pages/task/task" } ], "money": "0.70", "platform": [ { "id": 1, "name": "QQ", "iconimg": "1", "task_content": null, "member_price": "0.00", "people_price": "0.00", "createtime": null, "deletetime": null, "my_platform_money": 0, "platform_max_money": 0 }, { "id": 2, "name": "UC", "iconimg": "1", "task_content": null, "member_price": "0.00", "people_price": "0.00", "createtime": null, "deletetime": null, "my_platform_money": 0, "platform_max_money": 0 }, { "id": 3, "name": "起点", "iconimg": "1", "task_content": null, "member_price": "0.00", "people_price": "0.00", "createtime": null, "deletetime": null, "my_platform_money": 0, "platform_max_money": 0 } ], "activity": [] } } ```