简要描述
请求URL
http://192.168.2.107:8080/ops/knowledge/catalog/getKnowledgeOverviewTreeAdvance
请求方式
网关
INSERT INTO public."BasicGatewayRoute" (uuid, name, sourcepath, module, targeturl, targetpath, logtype, logcontent, param, responsebody, remark, "createTime", state, "updateTime", verify, type, "moduleId") VALUES ('c160d1d6-151a-4c21-9b39-dac163f7b390', '知识库高级搜索树接口', '/ops/knowledge/catalog/getKnowledgeOverviewTreeAdvance', null, null, '/knowledge/catalog/getKnowledgeOverviewTreeAdvance', '查询', '知识库高级搜索树接口', '', '', '', '2022-05-05 16:25:59', 0, '2022-05-05 16:25:59', true, 'normal', '3229e8b4eb8b4224bce1f36f8238183a');
参数
参数名 |
必选 |
类型 |
说明 |
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 |
创建时间-结束 |
调用示例
{
"catalogId": "",
"type": "relevance",
"searchType": "process",
"title":"",
"catalogName":"",
"words":"",
"content":"磁盘IO信息",
"createUser":"",
"createTimeStart":"",
"createTimeEnd":""
}
返回示例
{
"errorCode": 0,
"message": "成功",
"time": 1653621087939,
"responseBody": [
{
"uuid": "parent",
"parentId": null,
"parentName": null,
"name": "知识就是力量",
"sort": 0,
"count": 0,
"children": [
{
"uuid": "a546050b86a147a28200410d9087eba9",
"parentId": "",
"parentName": null,
"name": "测试懒加载下拉框",
"sort": 0,
"count": 0,
"children": null
},
{
"uuid": "a12ccacf3c9642acb26f4435d093e05d",
"parentId": "",
"parentName": null,
"name": "测试目录",
"sort": 0,
"count": 1,
"children": [
{
"uuid": "b39e896d8e874be19f2ea8e328358fed",
"parentId": "a12ccacf3c9642acb26f4435d093e05d",
"parentName": "测试目录",
"name": "测试一",
"sort": 0,
"count": 0,
"children": [
{
"uuid": "d33d495dff264983b4541aea4c9a41a7",
"parentId": "b39e896d8e874be19f2ea8e328358fed",
"parentName": "测试一",
"name": "测试1-1",
"sort": 0,
"count": 0,
"children": null
}
]
},
{
"uuid": "381c5e821a494e6b8ed5360846e67bb6",
"parentId": "a12ccacf3c9642acb26f4435d093e05d",
"parentName": "测试目录",
"name": "测试二",
"sort": 0,
"count": 0,
"children": null
}
]
},
{
"uuid": "f2aa94dbb5f14136bcba74abfd88c92d",
"parentId": "",
"parentName": null,
"name": "cyh测试0301",
"sort": 0,
"count": 0,
"children": [
{
"uuid": "9b3f0accff1d48aca942dc96c12bceb3",
"parentId": "f2aa94dbb5f14136bcba74abfd88c92d",
"parentName": "cyh测试0301",
"name": "信息交付可修改",
"sort": 0,
"count": 0,
"children": null
},
{
"uuid": "41892ce151b24d8c93a9ccadbfb87a60",
"parentId": "f2aa94dbb5f14136bcba74abfd88c92d",
"parentName": "cyh测试0301",
"name": "信息交付可查询",
"sort": 0,
"count": 0,
"children": null
},
{
"uuid": "049961c80b644095a627a0a988df8d91",
"parentId": "f2aa94dbb5f14136bcba74abfd88c92d",
"parentName": "cyh测试0301",
"name": "信息交付无权",
"sort": 0,
"count": 0,
"children": null
}
]
},
{
"uuid": "80d75517aa674630bcf7c1de77f34341",
"parentId": "",
"parentName": null,
"name": "测试1-二部1",
"sort": 0,
"count": 0,
"children": null
},
{
"uuid": "c024beb285ce4ad0844024e95f1d2fd8",
"parentId": "",
"parentName": null,
"name": "0.0.0.0-0",
"sort": 0,
"count": 0,
"children": null
},
{
"uuid": "9eb8d6b4b3d6420781b61c916655bc36",
"parentId": "",
"parentName": null,
"name": "账户开户",
"sort": 0,
"count": 0,
"children": null
},
{
"uuid": "84e57f42e5e648b6b6922df1e2eeb98e",
"parentId": "",
"parentName": null,
"name": "知识问答",
"sort": 0,
"count": 0,
"children": null
},
{
"uuid": "ee320d11739f484b9978a9528a410a4f",
"parentId": "",
"parentName": null,
"name": "告警转知识",
"sort": 5,
"count": 0,
"children": [
{
"uuid": "643c9762eec54edd93ae9ce0aab0a1e9",
"parentId": "ee320d11739f484b9978a9528a410a4f",
"parentName": "告警转知识",
"name": "有审批人",
"sort": 0,
"count": 0,
"children": null
},
{
"uuid": "5c9ca18e86a2424382681ee5b3391c9c",
"parentId": "ee320d11739f484b9978a9528a410a4f",
"parentName": "告警转知识",
"name": "超级管理员能查询",
"sort": 0,
"count": 0,
"children": null
}
]
}
]
}
]
}
返回参数说明
参数名 |
类型 |
说明 |
errorCode |
int |
状态码 |
备注