# 分页查看邀请码列表

# 调用方式: GET

# 接口地址:

https://api.freelog.com/v2/testQualifications/beta/codes
1

# URL传入参数说明:

参数 必选 类型及范围 说明
skip 可选 int 分页跳过的数量.默认为0
limit 可选 int 每页获取的数量.1-100之间
status 可选 int 授权码状态: 0:正常 1:已停用
keywords 可选 string 搜索关键字.用户名或邀请码

# 返回说明:

返回值字段 字段类型 字段说明
userId int 邀请码所属人ID
username int 邀请码所属人用户名
usedCount int 已使用次数
startEffectiveDate date 开始生效时间
endEffectiveDate date or null 结束生效时间
code string 邀请码

# 返回示例

{
	"ret": 0,
	"errCode": 0,
	"errcode": 0,
	"msg": "success",
	"data": {
		"skip": 0,
		"limit": 2,
		"totalItem": 64,
		"dataList": [{
			"userId": 0,
			"username": "",
			"usedCount": 0,
			"limitCount": 10,
			"startEffectiveDate": "2020-12-03T16:00:00.000Z",
			"endEffectiveDate": null,
			"status": 1,
			"code": "NzJmOThi",
			"codeType": "beta",
			"createDate": "2020-12-04T02:55:51.371Z",
			"updateDate": "2020-12-04T02:56:40.520Z"
		}, {
			"userId": 0,
			"username": "",
			"usedCount": 0,
			"limitCount": 10,
			"startEffectiveDate": "2020-12-03T16:00:00.000Z",
			"endEffectiveDate": null,
			"status": 1,
			"code": "MTU5MTE3",
			"codeType": "beta",
			"createDate": "2020-12-04T02:55:51.371Z",
			"updateDate": "2020-12-04T02:56:40.520Z"
		}]
	}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36