首页检索-上传人/上传时间/标签选项

导读:
检索时添加:
上传人
上传时间
标签选项

定义图

在这里插入图片描述
在这里插入图片描述
selectTitle
selectContent

检索接口

请求:get

/kms/search/files?keyWord={keyWord}&selectTitle=true&selectContent=true&creator={creator}&beginTime={beginTime}&endTime={endTime}&fileTypes={fileTypes}&categoryIds={categoryIds}&scope={scope}&pageNo={pageNo}&linesPerPage={linesPerPage}
参数含义
keyWord关键词
selectTitle标题是否搜索-true/false
selectContent内容是否搜索-true/false
creator创建人
beginTime时间范围-开始时间-毫秒值
endTime时间范围-结束时间-毫秒值
fileTypes文件类型-doc/docx/ppt/pptx/xls/xlsx
categoryIds标签id集合
scope区域
pageNo页数
linesPerPage每页显示数量

返回的json

{
	"errcode": 0,
	"errmsg": "ok",
	"data": {
		"rowCount": 1,
		"linesPerPage": 10,
		"pageNo": 1,
		"datas": [{
			"id": "a5133813-54f9-45ac-bed0-3bb6c96d137f",
			"name": "2018.1.19信息参阅第18期人行道<span style='color:red;'>建设</span>与治理专刊 (1).doc",
			"creatorId": "zPsp2hk7CEwtqeMCwtj",
			"creator": "管理员",
			"createDate": "2020-06-08",
			"lastModifyDate": "2020-06-08",
			"diskId": "0dd1e1c1-b5dd-41f4-8e3e-c0479448faf9",
			"folderId": "a56f8f78-52b4-44ef-af2e-fe4136974500",
			"folder": false,
			"size": 98586,
			"path": "0dd1e1c1-b5dd-41f4-8e3e-c0479448faf9/a56f8f78-52b4-44ef-af2e-fe4136974500",
			"type": "doc",
			"url": "0dd1e1c1-b5dd-41f4-8e3e-c0479448faf9/202006/a5133813-54f9-45ac-bed0-3bb6c96d137f.doc",
			"originType": 1,
			"originId": null,
			"categorys": null,
			"categorysJson": [{
				"isAuto": true,
				"categoryName": "2",
				"categoryId": "4e8278fe-df5d-4542-b044-5f9673fd5d4a",
				"fileId": "a5133813-54f9-45ac-bed0-3bb6c96d137f"
			}, {
				"isAuto": false,
				"categoryName": "素质",
				"categoryId": "61b0c95e-9660-4b6b-9d87-d217c132562b",
				"fileId": "a5133813-54f9-45ac-bed0-3bb6c96d137f"
			}, {
				"isAuto": false,
				"categoryName": "天河区",
				"categoryId": "52ec8721-c5a5-475f-b3dc-208a228765c8",
				"fileId": "a5133813-54f9-45ac-bed0-3bb6c96d137f"
			}, {
				"isAuto": false,
				"categoryName": "审核意见",
				"categoryId": "90fedf5e-fb65-4b9b-ab63-ecab39c7e61a",
				"fileId": "a5133813-54f9-45ac-bed0-3bb6c96d137f"
			}, {
				"isAuto": false,
				"categoryName": "广州市",
				"categoryId": "d0afdbdc-ea28-4dd1-b3e8-54a14e2e0071",
				"fileId": "a5133813-54f9-45ac-bed0-3bb6c96d137f"
			}],
			"views": 0,
			"lastViewDate": null,
			"downloads": 0,
			"lastDownloadDate": null,
			"shares": 0,
			"lastShareDate": null,
			"collects": 0,
			"lastCollectDate": null,
			"lastEditDate": null,
			"good": 0,
			"bad": 0,
			"fileType": "doc",
			"content": "<abc style='color:red;'>建设</abc>",
			"resourceType": "1",
			"pageCount": "17",
			"folderName": "bb"
		}],
		"pageCount": 1
	}
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值