系统部署工具

API文档


文件扫描任务查询列表

简要描述
  • 文件扫描任务查询列表
请求URL
  • http://192.168.100.80:8399/system/listTasks
请求方式
  • POST
参数
参数名 必选 类型 说明
pageNo false string 当前页
pageSize false string 每页显示条数
taskName false string 任务名称
taskType false string 任务类型
fileType false string 扫描文件类型
beginTime false string 任务开始时间
endTime false string 任务结束时间
返回示例
{
  "status": 0,
  "errmsgfilter": false,
  "encrypted": false,
  "desc": "成功",
  "result": {
    "total": 2,
    "size": 10,
    "pages": 1,
    "current": 1,
    "records": [
      {
        "id": "cdc50b02-6e76-417e-87b0-ffa0e0927b46",
        "taskName": "日志文件采集",
        "taskType": "文件检索",
        "scanPath": "D:\\application\\nginx",
        "fileType": "log",
        "taskRes": "{\"totalSize\":\"5.12G\",\"totalNum\":2,\"Records\":[{\"fileName\":\"access.log\",\"filePath\":\"D:\\\\application\\\\nginx\\\\logs\\\\access.log\",\"fileSize\":\"0.00B\",\"id\":\"443b099a-d4eb-4c49-b0db-eb28d0048bfc\",\"size\":0},{\"fileName\":\"error.log\",\"filePath\":\"D:\\\\application\\\\nginx\\\\logs\\\\error.log\",\"fileSize\":\"0.00B\",\"id\":\"4f74a201-3807-453f-acef-1bcb6a391c7e\",\"size\":0}]}",
        "beginTime": "2022-12-02 11:14:45",
        "endTime": "2022-12-02 11:14:48",
        "deleted": 0,
        "pack": 0,
        "packPath": null
      },
      {
        "id": "d4be67fb-0c52-4996-a2c6-2b4769bb15ca",
        "taskName": "图片文件采集",
        "taskType": "文件检索",
        "scanPath": "D:\\application\\nginx",
        "fileType": "jpg",
        "taskRes": "{\"totalSize\":\"23.03M\",\"totalNum\":437,\"Records\":[{\"fileName\":\"bj.jpg\",\"filePath\":\"D:\\\\application\\\\nginx\\\\design\\\\zxsjpt\\\\cxsjmk\\\\jsdp\\\\images\\\\bj.jpg\",\"fileSize\":\"1.35M\",\"id\":\"f989b577-9b7a-46f0-872e-102b6e7ceb96\",\"size\":1413585}]}",
        "beginTime": "2022-12-02 11:15:41",
        "endTime": "2022-12-02 11:15:45",
        "deleted": 0,
        "pack": 1,
        "packPath": "D:\\application\\jpg.zip"
      }
    ]
  }
}
返回参数说明
参数名 类型 说明
id string 任务id
taskRes string 扫描文件结果
pack Integer 是否打包(1:打包;2:未打包)
packPath string 压缩包存放路径

页面列表

ITEM_HTML