分页查询管理员日志
GET
/eims/api/v1/admin/log
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
pageNo
integer
可选
pageSize
integer
可选
sortDirection
string
可选
sortKey
string
需要排序的字段
operatorName
string
操作人名称
moduleList
array[string]
模块名称
beginTime
integer
查询范围:开始时间
endTime
integer
查询范围:结束时间
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/eims/api/v1/admin/log'
返回响应
🟢200成功
application/json
Body
total
string | null
总数据数
page
string | null
当前页码
pages
string | null
总页数
pageSize
string | null
单页数量
data
array[object (AdminAuditLogResponse) {8}] | null
数据
module
string | null
操作模块
type
string | null
操作类型
content
string | null
操作内容
success
boolean | null
操作结果,是否成功
operatorName
string | null
操作人名称
operatorMobile
string | null
操作人手机号
operatorIp
string | null
操作人 ip
createdTime
string | null
操作时间
示例
{
"total": "",
"page": "",
"pages": "",
"pageSize": "",
"data": [
{
"module": "",
"type": "",
"content": "",
"success": false,
"operatorName": "",
"operatorMobile": "",
"operatorIp": "",
"createdTime": ""
}
]
}