文档
测试
POST
/api/operationlog/export

请求参数

参数名
类型
描述
必填
head
string
需要导出的字段名 数组
必填
id
string
示例:id
必填
userId
string
示例:userId
必填
method
string
示例:method
必填
username
string
示例:username
必填
ip
string
示例:ip
必填
role
string
示例:role
必填
createTime
string
示例:createTime
必填
updateTime
string
示例:updateTime
必填
operationLogEntities
List<OperationLogEntity>
选中的行的id
必填
id
必填
userId
必填
method
必填
username
必填
ip
必填
role
必填
createTime
必填
updateTime
必填

请求示例

{ "head":[id,userid,username......] "operationLogEntities":[ { "id":1, "userId":1, "username":"admin", "method":"GET", "ip":"192.168.0.115", "role":"超级管理员", "createTime": "2021-07-05 08:29:42", "updateTime": "2021-07-05 08:29:47" } ] }

说明 / 示例

{ "msg": "success", "code": 0, "data": "http://192.168.0.115:8001/static/export/操作记录表.xls" }