获取卡密列表
POST
/myauth/web/getCardList
请求参数
Header 参数
token
string
必需
示例值:
b9eab83c09cc4d38bbcef5392cfb6333
Body 参数application/json
ckey
string
卡密
point
integer
点数
seconds
integer
秒数
addTime
string
添加时间戳
letTime
string
使用时间戳
letUser
string
使用人账号
status
integer
卡密状态
fromAdminId
integer
生成人ID
fromSoftId
integer
所属软件id
pageIndex
integer
页码
pageSize
integer
每页数据行数
orders
array [object {2}]
排序
column
string
字段名
asc
string
是否正序排序
示例
{
"ckey": "",
"point": null,
"seconds": null,
"addTime": null,
"letTime": null,
"letUser": null,
"status": 0,
"fromSoftId": 1,
"pageIndex": 1,
"pageSize": 5
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/myauth/web/getCardList' \
--header 'token: b9eab83c09cc4d38bbcef5392cfb6333' \
--header 'Content-Type: application/json' \
--data-raw '{
"ckey":"",
"point":null,
"seconds":null,
"addTime":null,
"letTime":null,
"letUser":null,
"status": 0,
"fromSoftId": 1,
"pageIndex": 1,
"pageSize": 5
}'
返回响应
🟢200成功
application/json
Body
code
integer
示例:200
success
boolean
成功响应
msg
string
返回文字描述
sign
string
示例:-
result
object
结果集
records
array [object {11}]
示例:-
total
integer
总数
size
integer
当前每页行数
current
integer
当前第几页
orders
array[string]
示例:{}
optimizeCountSql
boolean
示例:true
searchCount
boolean
示例:true
countId
null
示例:-
maxLimit
null
示例:-
pages
integer
总页数
timestamp
integer
必需
示例
{
"code": 200,
"success": true,
"msg": "获取成功",
"sign": "",
"result": {
"records": [
{
"id": 9,
"ckey": "MyQQ-f1556ca5c35549258174ac4f6dbc29d4",
"point": 1,
"seconds": 100,
"addTime": 1645106668,
"letTime": null,
"letUser": null,
"status": 2,
"fromAdminId": 1,
"fromSoftId": 1,
"fromSoftName": "MyQQ"
},
{
"id": 10,
"ckey": "MyQQ-82757511520e4771b24c21b38315cbb2",
"point": 1,
"seconds": 100,
"addTime": 1645106668,
"letTime": null,
"letUser": null,
"status": 0,
"fromAdminId": 1,
"fromSoftId": 1,
"fromSoftName": "MyQQ"
}
],
"total": 2,
"size": 5,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"searchCount": true,
"countId": null,
"maxLimit": null,
"pages": 1
},
"timestamp": 1645190356381
}
🔴500错误
修改于 2022-03-11 15:47:15