文档
测试

搜索文件

GET
http://192.168.110.211:50009/document/list/search?size=10&current=0&fastSearch=web

请求头

参数名
类型
描述
必填
Authorization
string
token
必填

请求参数

参数名
类型
描述
必填
current
int
必填
size
int
必填
fastSearch
string
搜索关键字
必填

响应参数

参数名
类型
描述
必填
status
int
示例:200
必填
msg
string
示例:OK
必填
data
object
数据字典
必填
records
array
数据列表
必填
id
int
示例:5
必填
parentId
int
示例:4
必填
name
string
示例:web注入
必填
originalName
string
示例:web-hacking-101.pdf
必填
isFile
int
示例:0
必填
url
string
示例:http://mics-media.oss-cn-zhangjiakou.aliyuncs.com/document/mics_img20220210041126tITnKPSUZ0.pdf
必填
createId
string
示例:2zdddfaqedfddddf343
必填
createName
string
示例:管理员
必填
createTime
string
示例:2022-02-10
必填
serialNumber
string
示例:6f7dd4d9-618d-4fd2-a30f-568498c37c37
必填
roleIds
object
示例:null
必填
picture
object
示例:null
必填
fileNum
object
示例:null
必填
bz
string
示例:防止web注入
必填
total
int
示例:1
必填
size
int
示例:10
必填
current
int
示例:0
必填
searchCount
boolean
示例:true
必填
pages
int
示例:1
必填
ok
boolean
示例:true
必填

说明 / 示例

``` { "status": 200, "msg": "OK", "data": { "records": [ { "id": 9, "parentId": 8, "name": "关于春节放假的通知.docx", "originalName": "关于春节放假的通知.docx", "isFile": 0, "url": "http://mics-media.oss-cn-zhangjiakou.aliyuncs.com/document/mics_img202201250856500molvtHc0H.docx", "createId": "2zdddfaqedfddddf343", "createName": "管理员", "createTime": "2022-02-10", "serialNumber": "d19d951d-9034-4c3f-88bb-7880ae266893", "roleIds": null, "picture": null, "fileNum": null, "bz": "", "parentDocument": [ { "id": 6, "name": "公司规章制度" }, { "id": 8, "name": "节假日安排" }, { "id": 9, "name": "关于春节放假的通知.docx" } ] }, { "id": 10, "parentId": 8, "name": "2020年春节假期", "originalName": "关于春节放假的通知.docx", "isFile": 0, "url": "http://mics-media.oss-cn-zhangjiakou.aliyuncs.com/document/mics_img202201250856500molvtHc0H.docx", "createId": "2zdddfaqedfddddf343", "createName": "管理员", "createTime": "2022-02-10", "serialNumber": "d19d951d-9034-4c3f-88bb-7880ae266893", "roleIds": null, "picture": null, "fileNum": null, "bz": "春节假期安排", "parentDocument": [ { "id": 6, "name": "公司规章制度" }, { "id": 8, "name": "节假日安排" }, { "id": 10, "name": "2020年春节假期" } ] }, { "id": 12, "parentId": 8, "name": "2022年春节假期", "originalName": "关于春节放假的通知.docx", "isFile": 0, "url": "http://mics-media.oss-cn-zhangjiakou.aliyuncs.com/document/mics_img202201250856500molvtHc0H.docx", "createId": "2zdddfaqedfddddf343", "createName": "管理员", "createTime": "2022-02-11", "serialNumber": "d19d951d-9034-4c3f-88bb-7880ae266893", "roleIds": null, "picture": null, "fileNum": null, "bz": "", "parentDocument": [ { "id": 6, "name": "公司规章制度" }, { "id": 8, "name": "节假日安排" }, { "id": 12, "name": "2022年春节假期" } ] } ], "total": 3, "size": 10, "current": 0, "searchCount": true, "pages": 1 }, "ok": true } ```