获取事件列表
POST
/myauth/web/getEventList请求参数
Header 参数
token
string
必需
登录成功后返回的token
示例值:
a8b7ac1e61cc485589c081eec70deb95
Body 参数application/json
fromSoftId
integer
所属软件id
name
string
事件名称
模糊查询
addTime
string
添加时间戳
模糊查询
status
integer
状态
0=禁用,1=正常
pageIndex
integer
页码
pageSize
integer
每页数据行数
orders
array [object {2}]
排序
column
string
字段名
必须严格遵守系统返回的字段名,即原样的驼峰命名法
asc
boolean
是否正序排序
示例
{
"fromSoftId": 1,
"pageIndex": 1,
"pageSize": 10,
"status": 1,
"name": "解绑"
}
示例代码
返回响应
成功(200)
错误(500)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
records
array [object {12}]
必需
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": 0,
"addTime": 1675145237,
"status": 1,
"fromSoftId": 1,
"fromSoftName": "测试软件",
"dayCount": 7,
"allCount": 10,
"startTime": 0,
"endTime": 0
},
{
"id": 2,
"name": "扣时间",
"point": 0,
"seconds": -10,
"addTime": 1691473485,
"status": 1,
"fromSoftId": 1,
"fromSoftName": "测试软件",
"dayCount": 0,
"allCount": 0,
"startTime": 0,
"endTime": 0
}
],
"total": 2,
"size": 10,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"searchCount": true,
"countId": null,
"maxLimit": null,
"pages": 1
},
"timestamp": 1691478050973
}
最后修改时间: 1 年前