我邀请的用户
分页查看自己邀请来的人,含注册时间和奖励状态,用于查看邀请成果。
| 请求方式 | GET |
|---|---|
| 接口路径 | /api/user/myInviteList |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
|---|---|---|---|
curPage | Integer | 否 | URL 参数 |
pageSize | Integer | 否 | URL 参数 |
column | String | 否 | URL 参数 |
order | String | 否 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/user/myInviteList?curPage=1&pageSize=1&column=xxx&order=xxx' \ -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
data 为分页对象,业务数据在 records。
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"records": [
{
"id": 1,
"userId": 1,
"username": "string",
"gender": 1,
"birthday": "string",
"registerTime": "string",
"lastLoginTime": "string",
"lastLoginIp": "string",
"userLevelId": "...",
"nickname": "string",
"mobile": "string",
"registerIp": "string",
"avatar": "string",
"school": "string",
"lat": 0.0,
"lon": 0.0,
"major": "string",
"unionId": "string",
"degree": 1,
"realName": "string",
"schoolId": 1,
"manageSchoolId": 1,
"majorId": 1,
"invitedUserId": 1,
"rewardPoints": 1,
"sign": "string",
"openid": "string",
"subOpenid": "string",
"userType": "...",
"bannedAccount": true,
"city": "string",
"alipayAccount": "string",
"term": 1,
"lastMsg": "string",
"approvalTime": "string",
"email": "string",
"qq": 1,
"wechat": "string",
"modifier": 1,
"applyTime": "string",
"adminUserId": 1,
"applyRole": 1,
"uniName": "string"
}
],
"total": 0,
"size": 10,
"current": 1,
"pages": 0
}
}