文档
测试

2️⃣ 我的推广√

POST
{{host}}/api/myinfo/promotion

接口描述

我的推广

请求头

参数名
类型
描述
必填
token
string
标识号
必填

请求参数

application/json
参数名
类型
描述
说明
必填
page
int
页码
不输入默认为1
可选

响应参数

application/json
参数名
类型
描述
必填
code
int
0失败、1成功、401未授权
必填
time
int
10位时间戳
必填
msg
string
消息内容
必填
data
json(object)
可能为空(null)
必填
pid
string
邀请人
必填
count
string
推广人数
必填
list
json(object)
下级
必填
count
int
条目数量
必填
total
int
总页数
必填
currentPage
int
当前页码
必填
list
json(object)
必填
json(object)
必填
pid
string
推广ID
必填
mobile
string
手机号码
必填
jointime
int
加入时间
必填
avatar
string
头像地址
必填
vip
int
是否vip 0 否 1 是
必填

说明 / 示例

{ "code":0, "time":1234567890, "msg":"失败", "data":null } { "code": 1, "msg": "请求成功", "time": "1701265984", "data": { "pid": "无", "count": 0, "list": { "list": [], "count": 0, "total": 0, "currentPage": 1 } } } { "code":401, "time":1234567890, "msg":"未登录", "data":null }