获取数据列表
POST
/myauth/web/getDataList请求参数
Header 参数
token
string
必需
登录成功后返回的token
示例值:
123
Body 参数application/json
type
string
上报类型
模糊查询
content
string
上报内容
模糊查询
ip
string
上报ip
模糊查询
addTime
integer
上报时间
10位时间戳,模糊查询
device_info
string
设备信息
模糊查询
device_code
string
机器码
模糊查询
fromSoftId
integer
所属软件id
fromVerId
integer
所属版本id
pageIndex
integer
必需
pageSize
integer
必需
orders
array [object {2}]
可选
column
string
字段名
必须严格遵守系统返回的字段名,即原样的驼峰命名法
asc
string
是否正序排序
示例
{
"type": null,
"content": null,
"ip": null,
"addTime": null,
"fromSoftId": null,
"fromVerId": null,
"device_info": null,
"device_code": null,
"pageIndex": 1,
"pageSize": 10
}
示例代码
返回响应
成功(200)
错误(500)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
records
array [object {11}]
必需
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,
"type": "按时",
"content": "阿萨德阿萨德按时都",
"ip": "127.0.0.1",
"addTime": 1644744078,
"fromSoftId": 1,
"fromVerId": 97,
"deviceInfo": "windows 10",
"deviceCode": "5A79565CC85400F0",
"fromSoftName": "MyQQ",
"fromVer": "1.9.0"
},
{
"id": 2,
"type": "按时",
"content": "阿萨德阿萨德按时都\r\n我爱你",
"ip": "127.0.0.1",
"addTime": 1646100860,
"fromSoftId": 1,
"fromVerId": 90,
"deviceInfo": "windows 10",
"deviceCode": "5A79565CC85400F0",
"fromSoftName": "MyQQ",
"fromVer": "1.8.9"
},
{
"id": 3,
"type": "按时",
"content": "阿萨德阿萨德按时都\r\n我爱你",
"ip": "127.0.0.1",
"addTime": 1646100884,
"fromSoftId": 1,
"fromVerId": 90,
"deviceInfo": "windows 10",
"deviceCode": "5A79565CC85400F0",
"fromSoftName": "MyQQ",
"fromVer": "1.8.9"
},
{
"id": 4,
"type": "按时",
"content": "阿萨德阿萨德按时都\r\n我爱你",
"ip": "127.0.0.1",
"addTime": 1646101759,
"fromSoftId": 1,
"fromVerId": 90,
"deviceInfo": "windows 10",
"deviceCode": "5A79565CC85400F0",
"fromSoftName": "MyQQ",
"fromVer": "1.8.9"
}
],
"total": 4,
"size": 10,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"searchCount": true,
"countId": null,
"maxLimit": null,
"pages": 1
},
"timestamp": 1646315476955
}
最后修改时间: 3 年前