公开  
获取好物推荐详情
参数名称 类型 是否必填 参数描述 备注
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 版本号 仅用于扩展,无需传入
参数名称 类型 参数描述 备注
listComment PostCommentList[] 帖子评论列表
sharedNum String 分享数量
rebatePersonNum String 通过分享返利人数_2
commentsNum String 评论数量
pid String 帖子id
resultMessage String 返回消息 返回的消息描述
returnMoney String 返利金额
intro String 导语
articleCoverPicUrl String 文章封面图
commentNum String 用户评论数_2
coverPicUrl String 详情页封面图
title String 标题
seenNum String 浏览数量
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
articleShareLink String 文章分享链接_2
listContent ApiGetRecommendDetailContentResult[] 帖子内容列表
favoriteState String 帖子收藏状态 用户未登录时,此值无意义
collectNum String 收藏数量
PostCommentList
参数名称 类型 参数描述 备注
picUrl String 头像 头像
publishTime String 评论时间 评论时间
status String 评论的状态 评论的状态
postCode String 帖子ID 帖子ID
type String 评论类型 针对帖子的回复,针对评论的回复
publisher String 被评论人昵称 被评论人昵称
content String 评论内容 评论内容
publisherCode String 评论人ID 评论人ID
floor String 楼层 楼层
nickName String 昵称 昵称
publishedCode String 被评论人code 被评论人code
commentCode String 评论内容ID 评论内容ID
formatPublishTime String 格式化后的评论时间 格式化后的评论时间

ApiGetRecommendDetailProductResult
参数名称 类型 参数描述 备注
productDesc String 商品描述
productSource String 商品来源
productSourceCode String 商品来源code
productCode String 商品编号
productPic String 商品图片
productPrice String 商品价格
productName String 商品名称
productLink String 商品链接

ApiRecommendDetailNcPostContentResult
参数名称 类型 参数描述 备注
content String 内容
height String 高度 360px
sort String 内容排序
width String 宽度 360px
type String 内容类型 0:文本,1:图片

ApiGetRecommendDetailContentResult
参数名称 类型 参数描述 备注
p_content String 帖子内容
p_title String 帖子标题 目前为"",无意义
listAdProduct ApiGetRecommendDetailProductResult[] 帖子内容关联商品
p_cid String 帖子内容ID
textAndImgList ApiRecommendDetailNcPostContentResult[] 帖子图文内容 切割自@p_content