简要描述
请求URL
http://192.168.2.107:8080/ops/knowledge/knowledge/knowledgeAdvanceSearch
请求方式
网关
INSERT INTO public."BasicGatewayRoute" (uuid, name, sourcepath, module, targeturl, targetpath, logtype, logcontent, param, responsebody, remark, "createTime", state, "updateTime", verify, type, "moduleId") VALUES ('660c82c6f4ce51eea6a336e3fdf909ad', '知识库高级搜索接口', '/ops/knowledge/knowledge/knowledgeAdvanceSearch', null, null, '/knowledge/knowledge/knowledgeAdvanceSearch', '查询', '知识库高级搜索接口', '', '', '', '2022-05-05 16:25:59', 0, '2022-05-05 16:25:59', true, 'normal', '3229e8b4eb8b4224bce1f36f8238183a');
参数
参数名 |
必选 |
类型 |
说明 |
page |
是 |
int |
页码 |
limit |
是 |
int |
条数 |
catalogId |
是 |
string |
知识分类id |
type |
是 |
string |
排序方式 hot、thumbs、collect、comment、new 默认是new |
searchType |
是 |
string |
搜索类型 knowledge、process |
title |
是 |
string |
知识标题 |
catalogName |
是 |
string |
知识分类名 |
words |
是 |
string |
关键字 |
content |
是 |
string |
内容 |
createUser |
是 |
string |
创建人名称 |
createTimeStart |
是 |
string |
创建时间-开始 |
createTimeEnd |
是 |
string |
创建时间-结束 |
调用示例
{
"page": 1,
"limit": 10,
"catalogId": "",
"type": "relevance",
"searchType": "process",
"title":"",
"catalogName":"",
"words":"",
"content":"磁盘IO信息",
"createUser":"",
"createTimeStart":"",
"createTimeEnd":""
}
返回示例
{
"errorCode": 0,
"message": "成功",
"time": 1651819864559,
"responseBody": {
"pageInfo": {
"page": 1,
"limit": 10,
"total": 2
},
"data": [
{
"uuid": "87556",
"title": "192.168.2.93-rg_main_mq-192.168.2.93",
"words": "监控",
"knowledgeNumber": "SJGL-20220118-003",
"catalogId": "事件流程",
"catalogName": "事件流程",
"catalogFullId": null,
"content": "<p>linux 的 rg_main_mq-192.168.2.93 中 磁盘IO信息 的 磁盘每秒写入的字节数 的 dm-0 指标实例 发生 信息 级别警告,当前值为 66.0 KB/s</p>",
"attachment": "[]",
"createUserId": "372205e2e0db460980e02ddd74429eca",
"createUser": "超级管理员",
"createTime": "2022-01-18 11:31:17",
"createDept": "",
"updateTime": null,
"state": "启用",
"operate": false,
"readCount": 1,
"commentCount": 0,
"thumbsCount": 0,
"collectCount": 0,
"collected": false,
"thumbsed": false
},
{
"uuid": "87519",
"title": "192.168.2.93-rg_main_mq-192.168.2.93",
"words": "监控",
"knowledgeNumber": "SJGL-20220118-002",
"catalogId": "事件流程",
"catalogName": "事件流程",
"catalogFullId": null,
"content": "<p>linux 的 rg_main_mq-192.168.2.93 中 磁盘IO信息 的 磁盘每秒写入的字节数 的 sda 指标实例 发生 信息 级别警告,当前值为 66.0 KB/s</p>",
"attachment": "[]",
"createUserId": "372205e2e0db460980e02ddd74429eca",
"createUser": "超级管理员",
"createTime": "2022-01-18 11:31:17",
"createDept": "",
"updateTime": null,
"state": "启用",
"operate": false,
"readCount": 0,
"commentCount": 0,
"thumbsCount": 0,
"collectCount": 0,
"collected": false,
"thumbsed": false
}
]
}
}
返回参数说明
参数名 |
类型 |
说明 |
errorCode |
int |
状态码 |
备注