文档
测试

通过id获取内容详情

GET
http://192.168.100.125/apin/bs/cmscontent/getDetailByCmsId

请求参数

参数名
类型
描述
必填
cmsId
string
内容id
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
result
object
数据字典
必填
id
string
示例:4028e6c971badce20171bade07460000
必填
categoryId
string
示例:1
必填
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
必填
createUser
object
示例:null
必填
createTime
string
示例:2020-04-27 17:00:45
必填
updateTime
string
示例:2020-04-27 17:22:37
必填
cmsFiles
array
数据列表
必填
id
string
示例:4028e6c971baeca90171baf2096c0000
必填
cmsId
string
示例:4028e6c971badce20171bade07460000
必填
fileName
string
示例:test.png
必填
fileSize
int
示例:100
必填
classify
string
示例:coverImage
必填
seqno
int
示例:1
必填
status
object
示例:null
必填
createTime
string
示例:2020-04-27 17:22:37
必填

说明 / 示例

{ "code": 1, "result": { "id": "4028e6c971badce20171bade07460000", "categoryId": "1", "classify": "1", "title": "今日头条", "author": "作者", "summary": "新闻摘要", "reprint": "1", "content": "内容3", "coverImg": null, "carouselImg": null, "source": "来源1", "isHead": "0", "isTop": "0", "releaseStatus": "0", "releaseTime": "2020-04-09 00:00:00", "status": "0", "createUser": null, "createTime": "2020-04-27 17:00:45", "updateTime": "2020-04-27 17:22:37", "cmsFiles": [ { "id": "4028e6c971baeca90171baf2096c0000", "cmsId": "4028e6c971badce20171bade07460000", "fileName": "test.png", "fileSize": 100, "classify": "coverImage", "seqno": 1, "status": null, "createTime": "2020-04-27 17:22:37" } ] "cmsAudits":[{ "id":"4028e6c971baeca90171baf2096c0000", "cmsId":"4028e6c971badce20171bade07460000", "result":"意见", "createTime":"审核时间", "createUser":"审核人" }] } }