| 参数名称 | 类型 | 是否必填 | 参数描述 | 备注 |
|---|---|---|---|---|
| api_key | String | 是 | 系统分配的ApiKey | |
| api_target | String | 是 | 调用接口名称 | com_cmall_groupcenter_recommend_api_ApiGetRecommendDetail |
| api_input | String | 是 | 输入参数 | 应用输入参数的JSON格式 |
| 参数名称 | 类型 | 必填 | 示例 | 参数描述 | 备注 |
|---|---|---|---|---|---|
| imageMaxWidth | String | 否 | 好物推荐帖子内容中图文列表中的图片最大宽度 | 当值为大于0的整数时转换图片 | |
| pid | String | 是 | 好物推荐帖子id | nc_post pid | |
| version | int | 否 | 版本号 | 仅用于扩展,无需传入 |
| 参数名称 | 类型 | 参数描述 | 备注 |
|---|---|---|---|
| articleShareLink | String | 文章分享链接_2 | |
| seenNum | String | 浏览数量 | |
| resultCode | int | 返回标记 | 如果返回标记1则为API调用成功 否则则是错误编号 |
| collectNum | String | 收藏数量 | |
| pid | String | 帖子id | |
| listContent | ApiGetRecommendDetailContentResult[] | 帖子内容列表 | |
| resultMessage | String | 返回消息 | 返回的消息描述 |
| title | String | 标题 | |
| commentNum | String | 用户评论数_2 | |
| intro | String | 导语 | |
| coverPicUrl | String | 详情页封面图 | |
| returnMoney | String | 返利金额 | |
| favoriteState | String | 帖子收藏状态 | 用户未登录时,此值无意义 |
| sharedNum | String | 分享数量 | |
| rebatePersonNum | String | 通过分享返利人数_2 | |
| commentsNum | String | 评论数量 | |
| listComment | PostCommentList[] | 帖子评论列表 | |
| articleCoverPicUrl | String | 文章封面图 |
| 参数名称 | 类型 | 参数描述 | 备注 |
|---|---|---|---|
| p_cid | String | 帖子内容ID | |
| p_title | String | 帖子标题 | 目前为"",无意义 |
| listAdProduct | ApiGetRecommendDetailProductResult[] | 帖子内容关联商品 | |
| p_content | String | 帖子内容 | |
| textAndImgList | ApiRecommendDetailNcPostContentResult[] | 帖子图文内容 | 切割自@p_content |
| 参数名称 | 类型 | 参数描述 | 备注 |
|---|---|---|---|
| publishTime | String | 评论时间 | 评论时间 |
| publisherCode | String | 评论人ID | 评论人ID |
| nickName | String | 昵称 | 昵称 |
| type | String | 评论类型 | 针对帖子的回复,针对评论的回复 |
| content | String | 评论内容 | 评论内容 |
| picUrl | String | 头像 | 头像 |
| commentCode | String | 评论内容ID | 评论内容ID |
| formatPublishTime | String | 格式化后的评论时间 | 格式化后的评论时间 |
| publisher | String | 被评论人昵称 | 被评论人昵称 |
| postCode | String | 帖子ID | 帖子ID |
| publishedCode | String | 被评论人code | 被评论人code |
| floor | String | 楼层 | 楼层 |
| status | String | 评论的状态 | 评论的状态 |
| 参数名称 | 类型 | 参数描述 | 备注 |
|---|---|---|---|
| width | String | 宽度 | 360px |
| sort | String | 内容排序 | |
| type | String | 内容类型 | 0:文本,1:图片 |
| content | String | 内容 | |
| height | String | 高度 | 360px |
| 参数名称 | 类型 | 参数描述 | 备注 |
|---|---|---|---|
| productDesc | String | 商品描述 | |
| productSource | String | 商品来源 | |
| productCode | String | 商品编号 | |
| productPic | String | 商品图片 | |
| productLink | String | 商品链接 | |
| productSourceCode | String | 商品来源code | |
| productName | String | 商品名称 | |
| productPrice | String | 商品价格 |