1.URL
http://124.223.60.234:8080/system/asset/operation/getSystemLogList
2.请求参数
2.1请求头
在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"userIds":["F940B79790004404AAC277418FC71C5D","FE8DE1DBD40048E5A273369C2AE2CDD9"],
"startTime":"2023-07-06 16:00:00",
"endTime":"2023-07-07 16:00:00",
"type":0,
"pageNum":1,
"pageSize":20
}
2.3.参数说明
字段 | 类型 | 说明 | 是否必须 |
---|---|---|---|
userIds | List | 用户唯一标识集合 | Y |
startTime | String | 开始时间(UTC) | Y |
endTime | String | 结束时间(UTC) | Y |
type | int | 0:查询全部;其他按操作类型集合输入指定的筛选条件 | Y |
pageNum | int | 第几页 | Y |
pageSize | int | 每页显示条数 | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": {
"total": 8,
"size": 1,
"data": [
{
"userId": "F940B79790004404AAC277418FC71C5D",
"dateTime": "2023-07-07T03:28:55.771402Z",
"dateTimestamp": 1688700535771,
"operationType": 4,
"operation": 401,
"paramJson": "{\"password\":\"c5894600e282615551041a9e50fd60e7\",\"userName\":\"leave\"}"
},
{
"userId": "FE8DE1DBD40048E5A273369C2AE2CDD9",
"dateTime": "2023-07-07T02:30:58.136586Z",
"dateTimestamp": 1688697058136,
"operationType": 2,
"operation": 203,
"paramJson": "{\"dateFormat\":\"yyyy-MM-dd\",\"defaultMap\":1,\"defaultMenu\":\"87\",\"mileageUnit\":0,\"moduleStyle\":0,\"userId\":\"FE8DE1DBD40048E5A273369C2AE2CDD9\",\"webTheme\":\"rgba(23, 119, 109, 1)\"}"
},
{
"userId": "F940B79790004404AAC277418FC71C5D",
"dateTime": "2023-07-07T01:57:17.047290Z",
"dateTimestamp": 1688695037047,
"operationType": 4,
"operation": 403,
"paramJson": "{\"shareId\":\"321A0CD932604E4D9C0F12C22E3DB1FE\",\"type\":1}"
},
{
"userId": "F940B79790004404AAC277418FC71C5D",
"dateTime": "2023-07-07T01:57:16.668300Z",
"dateTimestamp": 1688695036668,
"operationType": 1,
"operation": 205,
"paramJson": "{\"controlType\":1,\"creatorId\":\"F940B79790004404AAC277418FC71C5D\",\"email\":\"\",\"expireTime\":\"2023-07-08 01:57:16\",\"id\":\"321A0CD932604E4D9C0F12C22E3DB1FE\",\"language\":1,\"shareContent\":\"[\\\"413050769677\\\"]\",\"shareUser\":\"monitorMonitor\",\"terminalIds\":\"[\\\"9301476EF79340999772DCB315C53C93\\\"]\",\"url\":\"http://124.223.60.234:9090/share?id=321A0CD932604E4D9C0F12C22E3DB1FE&type=1&language=1\"}"
},
{
"userId": "F940B79790004404AAC277418FC71C5D",
"dateTime": "2023-07-07T01:56:26.604062Z",
"dateTimestamp": 1688694986604,
"operationType": 4,
"operation": 403,
"paramJson": "{\"shareId\":\"0629791663504AD89B635D5B3B4B3F5F\",\"type\":1}"
},
{
"userId": "F940B79790004404AAC277418FC71C5D",
"dateTime": "2023-07-07T01:56:26.003030Z",
"dateTimestamp": 1688694986003,
"operationType": 1,
"operation": 205,
"paramJson": "{\"controlType\":1,\"creatorId\":\"F940B79790004404AAC277418FC71C5D\",\"email\":\"\",\"expireTime\":\"2023-07-08 01:56:25\",\"id\":\"0629791663504AD89B635D5B3B4B3F5F\",\"language\":1,\"shareContent\":\"[\\\"413050769677\\\"]\",\"shareUser\":\"monitorMonitor\",\"terminalIds\":\"[\\\"9301476EF79340999772DCB315C53C93\\\"]\",\"url\":\"http://124.223.60.234:9090/share?id=0629791663504AD89B635D5B3B4B3F5F&type=1&language=1\"}"
},
{
"userId": "F940B79790004404AAC277418FC71C5D",
"dateTime": "2023-07-07T01:55:42.437796Z",
"dateTimestamp": 1688694942437,
"operationType": 4,
"operation": 401,
"paramJson": "{\"password\":\"c5894600e282615551041a9e50fd60e7\",\"userName\":\"leave\"}"
},
{
"userId": "FE8DE1DBD40048E5A273369C2AE2CDD9",
"dateTime": "2023-07-07T01:10:01.092448Z",
"dateTimestamp": 1688692201092,
"operationType": 4,
"operation": 401,
"paramJson": "{\"password\":\"33389db297c28b6238620673c31003ea\",\"userName\":\"tanzai\"}"
}
]
}
}
3.2.返回结果说明
字段 | 类型 | 说明 |
---|---|---|
code | int | 返回状态 |
message | String | 返回结果描述 |
data | List | 返回结果体 |
data说明
字段 | 类型 | 说明 |
---|---|---|
userId | String | 用户唯一标识 |
dateTime | String | 操作时间(UTC) |
dateTimestamp | Long | 操作时间戳(UNIX) |
operationType | int | 操作类型,参见《查询操作类型集合》 |
operation | int | 操作,参见《查询操作内容集合》 |
paramJson | String | 参数明细 |
4.请求示例
作者:admin 创建时间:2023-07-07 11:42
最后编辑:admin 更新时间:2025-06-27 22:39
最后编辑:admin 更新时间:2025-06-27 22:39