跳到主要内容
版本:latest

GetFileHistory

查询面板文件管理的操作历史记录,支持分页和关键词搜索。

  • 路由POST /files
  • actionGetFileHistory

输入参数

参数名称必选类型描述
actionString固定值 GetFileHistory
pInteger页码,默认 1
limitInteger每页条数,默认 20
contentString搜索关键词,匹配时间和日志内容

输出参数

参数名称类型描述
pageString分页 HTML
dataArray操作日志列表

示例

请求

POST /files HTTP/1.1
Host: 192.168.168.213:8888
Content-Type: application/x-www-form-urlencoded

action=GetFileHistory&p=1&limit=10

响应

{"page": "<div>...</div>", "data": []}