文档
测试

获取文章详情

POST
/api/mc/portal/getDetailByPortalId

请求头

参数名
类型
描述
必填
XX-Token
string
用户token
必填
XX-Device-Type
string
设备类型 android、ios
必填

请求参数

参数名
类型
描述
必填
portal_id
int
文章id
必填

响应参数

参数名
类型
描述
必填
code
int
返回码
必填
msg
string
提示信息
必填
data
array
返回内容
必填

说明 / 示例

{ "code": 1, "msg": "成功", "data": [ { "post_format": 1, "user_id": 1, "comment_status": 1, "post_hits": 0, "post_favorites": 0, "post_like": 0, "comment_count": 0, "published_time": 1554780780, "post_title": "ceshi2", "post_keywords": "haha", "post_excerpt": "haha", "post_source": "hah", "thumbnail": "", "more": "{\"audio\":\"\",\"video\":\"\",\"thumbnail\":\"\",\"template\":\"\"}" } ] }