获取卡密列表
POST
/myauth/web/getACardList请求参数
Header 参数
token
string
必需
登录成功后返回的token
示例值:
b9eab83c09cc4d38bbcef5392cfb6333
Body 参数application/json
ckey
string
卡密
模糊查询
money
string
面额
addTime
string
添加时间戳
10位,模糊查询
letTime
string
使用时间戳
10位,模糊查询
letUser
string
使用人账号
非ID,模糊查询
status
integer
卡密状态
0=未使用,1=已使用,2=被禁用
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
}
示例代码
返回响应
成功(200)
错误(500)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
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
}
最后修改时间: 3 年前