文档
测试

查询多个菜单内容接口

POST
http://192.168.100.125/apin/bs/cmscontent/getCmsListByCategoryIds

请求参数

参数名
类型
描述
必填
pageNum
int
示例:1
必填
pageSize
int
示例:10
必填
categoryId
string
示例:zwfw
必填
userId
string
示例:4028e4f871e7bd7a0171f2e0bc6d0008(通知公告或政务服务传入)
必填
type
string
示例:zwfw
必填
title
string
标题
必填
releaseStatus
string
发布状态
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
result
object
结果集
必填
count
int
示例:1
必填
list
array
数据列表
必填
id
string
示例:4028e6c971badce20171bade07460000
必填
categoryId
string
示例:1
必填
tagId
object
示例:null
必填
classify
string
示例:1
必填
title
string
示例:今日头条
必填
author
string
示例:作者
必填
summary
string
示例:新闻摘要
必填
reprint
string
示例:1
必填
content
string
示例:内容3
必填
coverImg
object
示例:null
必填
carouselImg
object
示例:null
必填
source
string
示例:来源1
必填
isHead
string
示例:0
必填
isTop
string
示例:0
必填
releaseStatus
string
示例:0
必填
releaseTime
string
示例:2020-04-09 00:00:00
必填
status
string
示例:0
必填
createTime
string
示例:2020-04-27 17:00:45
必填
updateTime
string
示例:2020-04-27 17:22:37
必填

说明 / 示例

请求示例:{ "pageNum":1, "pageSize":10, "categoryId":"栏目分类或栏目分类ID", "userId":"4028e4f871e7bd7a0171f2e0bc6d0008", "type":"zwfw", "title":"标题", "releaseStatus":"状态" } 响应示例:{ "code": 1, "result": { "count": 1, "list": [ { "id": "4028e6c971badce20171bade07460000", "categoryId": "分类ID", "tagId": null, "classify": "1", "title": "标题、产品名称", "author": "作者", "summary": "摘要、简介", "reprint": "1", "content": "内容", "coverImg": null, "carouselImg": null, "source": "来源", "isHead": "0", "isTop": "0", "releaseStatus": "0", "releaseTime": "2020-04-09 00:00:00", "status": "0", "createTime": "2020-04-27 17:00:45", "updateTime": "2020-04-27 17:22:37" } ] } }