下载列表

基本信息

  • 接口状态:已完成
  • 接口URL:POST /api/cms/download/index
  • Content-Type:application/json
  • 认证方式:无需认证

请求参数

{
	"page":  1,
	"keyword": "666",
	"catalog_id": 1099,
	"status": 1
}
参数名 参数值 是否必填 参数类型  描述说明
page 1 Number 当前页
keyword 666 String 根据关键词搜索
catalog_id 1099 Number 根据分类ID搜索
status 1 Number 根据状态搜索
attr istop、isrecommend、ishot String 根据标签搜索
date [2022-09-22, 2022-09-23] Array   根据日期搜索
prop 字段名 String 根据某字段排序
order  asc、desc   String 根据某字段降序/升序

响应示例

{
	"status": "success",
	"message": "获取成功",
	"data": [
		{
			"id": 3,
			"group_id": [],
			"catalog_id": [
				1099
			],
			"relation": "3",
			"title": "666",
			"c_title": "",
			"description": "",
			"file": "/upload/image/20220905/9a1365b10913f9592ee23aa362dc1f38.png",
			"content": "",
			"cover": "/upload/image/20220905/9a1365b10913f9592ee23aa362dc1f38.png",
			"images": [],
			"seo_url": "",
			"seo_title": "666",
			"seo_keywords": "666",
			"seo_description": "",
			"field": [],
			"istop": 0,
			"isrecommend": 0,
			"ishot": 0,
			"sort": 0,
			"clicks": 10,
			"create_time": "2022-09-07 17:25:26",
			"status": 1,
			"url": "https://www.onekeyadmin.com/1099/3.html",
			"catalog_title": [
				"下载中心"
			],
			"downloaded_count": 4
		}
	],
	"count": 1
}
参数名 参数值 参数类型  描述说明
status
success String 状态
message
获取成功
String
描述
data [] Array 返回值
count 1 Number 总条数

 

文档最后更新时间:2023-03-16 10:56:55