# 查询卡密列表

# 简要描述

-查询用户生成卡密列表

# 请求URL
  • /api/getCardMyList
# 请求头
参数名 必选 类型 说明
Content-Type string 此参数必传,当请求数据非json时此参数传对应格式如(multipartform-data,application/x-www-form-urlencoded,等)是json请传application/json
askKey string 此参数必传,验证app的令牌
sign string 此参数如果在app设置开启了验签是必传
time string 当开启验签时,此参数为必传
apiUserToken string 除了部分不验证用户令牌的接口以外此参数为必传(注册/登陆/发送验证码)不是必传,其余都是必传
# 请求方式
  • post
# 参数
参数名 必选 类型 说明
p int 分页页码
s int 分页每页条数最大1000
cardStr string 卡密,支持模糊查询
state int 1未使用0已使用
systemStr string 设备号
type int 1天卡,2周卡,3季卡,4年卡,5永久
systemState int 是否单设备绑定0是1否
# 请求示例
{
    "p":1,
    "s":10,
}
1
2
3
4
# 返回示例
{
    "code": "200",
    "message": "",
    "status": true,
    "data": [
        {
            "id": "783580202212548608",
            "createdDate": 1675931688649,
            "modifiedDate": 1675931688649,
            "status": 1,
            "appId": "657801375071686656",
            "cardMyId": "783580202212548608",
            "userId": "783541151795273728",
            "cardStr": "80C4F61265562DEBAA32DF680368B8A0",
            "type": 1,
            "state": 0,
            "expireTime": "2023-02-22 09:22:41",
            "systemStr": "wewewe"
        },
        {
            "id": "783580202208354304",
            "createdDate": 1675931688648,
            "modifiedDate": 1675931688648,
            "status": 1,
            "appId": "657801375071686656",
            "cardMyId": "783580202208354304",
            "userId": "783541151795273728",
            "cardStr": "9B02D5E6E2672B74672B3A3201E905C9",
            "type": 1,
            "state": 1
        }
    ],
    "pc": {
        "pageIndex": 1,
        "pageSize": 2,
        "pageWindow": 10,
        "maxPages": 36,
        "total": 72,
        "startIndex": 0,
        "endIndex": 2,
        "startPageIndex": 1,
        "nextPage": 2,
        "endPageIndex": 11,
        "previousPage": 0
    },
    "time": null,
    "sign": null
}
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
37
38
39
40
41
42
43
44
45
46
47
48
# 返回参数说明
参数名 类型 说明
code string 状态码200成功403权限异常或登陆超时,500请求异常
status int 状态0删除1使用
data array 内容
createdDate string 创建时间
type int 卡密类型 0天卡,1周卡,2月卡,3季卡,4年卡,5永久卡
cardStr string 生成的卡密
cardMyId string 卡密id
state int 卡密状态1未使用0已使用
expireTime string 卡密过期日
systemStr string 设备号
# 备注
  • 更多返回错误代码请看首页的错误代码描述
lastUpdate: 7/25/2024, 4:20:09 PM