获取事件列表
POST
/myauth/web/getEventList
请求参数
Header 参数
token
string
必需
示例值:
a8b7ac1e61cc485589c081eec70deb95
Body 参数application/json
fromSoftId
integer
所属软件id
name
string
事件名称
addTime
string
添加时间戳
status
integer
状态
pageIndex
integer
页码
pageSize
integer
每页数据行数
orders
array [object {2}]
排序
column
string
字段名
asc
boolean
是否正序排序
示例
{
"fromSoftId": 1,
"pageIndex": 1,
"pageSize": 10,
"status": 1,
"name": "解绑"
}
示例代码
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/getEventList' \
--header 'token: a8b7ac1e61cc485589c081eec70deb95' \
--header 'Content-Type: application/json' \
--data-raw '{
"fromSoftId": 1,
"pageIndex": 1,
"pageSize": 10,
"status": 1,
"name": "解绑"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
records
array [object {8}]
必需
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": 1,
"name": "解绑",
"point": -10,
"seconds": -3600,
"addTime": 1645689498,
"status": 1,
"fromSoftId": 1,
"fromSoftName": "MyQQ"
},
{
"id": 2,
"name": "中奖",
"point": 10,
"seconds": 7800,
"addTime": 1645689598,
"status": 1,
"fromSoftId": 1,
"fromSoftName": "MyQQ"
}
],
"total": 2,
"size": 10,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"searchCount": true,
"countId": null,
"maxLimit": null,
"pages": 1
},
"timestamp": 1645690514197
}
🔴500错误
修改于 2022-02-27 14:46:07