获取卡密列表
POST
/myauth/web/getACardList
请求参数
Header 参数
token
string
必需
示例值:
b9eab83c09cc4d38bbcef5392cfb6333
Body 参数application/json
ckey
string
卡密
money
string
面额
addTime
string
添加时间戳
letTime
string
使用时间戳
letUser
string
使用人账号
status
integer
卡密状态
pageIndex
integer
页码
pageSize
integer
每页数据行数
orders
array [object {2}]
排序
column
string
字段名
asc
string
是否正序排序
示例
{
"ckey": "",
"point": null,
"money": null,
"addTime": null,
"letTime": null,
"letUser": null,
"status": 0,
"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/getACardList' \
--header 'token: b9eab83c09cc4d38bbcef5392cfb6333' \
--header 'Content-Type: application/json' \
--data-raw '{
"ckey":"",
"point":null,
"money":null,
"addTime":null,
"letTime":null,
"letUser":null,
"status": 0,
"pageIndex": 1,
"pageSize": 5
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
records
array [object {10}]
必需
total
integer
必需
size
integer
必需
current
integer
必需
orders
array[string]
必需
optimizeCountSql
boolean
必需
searchCount
boolean
必需
countId
null
必需
maxLimit
null
必需
pages
integer
必需
timestamp
integer
必需
示例
{
"code": 200,
"success": true,
"msg": "获取成功",
"sign": "",
"result": {
"records": [
{
"id": 77,
"ckey": "Test-a07d3d657eaf4279949c0aa1bce676bf",
"money": "100",
"addTime": 1647400622,
"letTime": null,
"letUser": null,
"status": 0,
"statusName": "未使用",
"addTimeName": null,
"letTimeName": null
},
{
"id": 76,
"ckey": "Test-31cb53a936a94fb4b4bb327d2330362b",
"money": "100",
"addTime": 1647400622,
"letTime": null,
"letUser": null,
"status": 0,
"statusName": "未使用",
"addTimeName": null,
"letTimeName": null
},
{
"id": 75,
"ckey": "Test-27e0b9ffb519438e90872d430dfb219f",
"money": "100",
"addTime": 1647400622,
"letTime": null,
"letUser": null,
"status": 0,
"statusName": "未使用",
"addTimeName": null,
"letTimeName": null
},
{
"id": 74,
"ckey": "Test-798ee61bc01245cb89bde440d5a79401",
"money": "100",
"addTime": 1647400622,
"letTime": null,
"letUser": null,
"status": 0,
"statusName": "未使用",
"addTimeName": null,
"letTimeName": null
},
{
"id": 73,
"ckey": "Test-51746f79a42144ad9a241b150d5dca53",
"money": "100",
"addTime": 1647400622,
"letTime": null,
"letUser": null,
"status": 0,
"statusName": "未使用",
"addTimeName": null,
"letTimeName": null
}
],
"total": 15,
"size": 5,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"searchCount": true,
"countId": null,
"maxLimit": null,
"pages": 3
},
"timestamp": 1647400679109
}
🔴500错误
修改于 2022-03-16 03:18:32