公开  
获取帖子评论
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_newscenter_beauty_api_PostCommentListApi
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
picWidth Integer 图片宽度
paging PageOption 5,10 翻页选项 输入起始页码和每页10条
version int 版本号 仅用于扩展,无需传入
post_code String 4497465000020001 帖子ID 帖子ID
参数名称 类型 参数描述 备注
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
postsCommentLists PostCommentList[] 帖子评论列表
paged PageResults 翻页结果
resultMessage String 返回消息 返回的消息描述
PicInfos
参数名称 类型 参数描述 备注
width Integer 图片宽度
picUrl String 图片url
height Integer 图片高度

PicAllInfo
参数名称 类型 参数描述 备注
picInfo PicInfos 原图
bigPicInfo PicInfos 大图
smallPicInfo PicInfos 小图

PostPublisherList
参数名称 类型 参数描述 备注
nickname String 昵称
member_avatar String 头像
skin_type String 皮肤类型 混合皮肤:449746650001;干性皮肤:449746650002;中性皮肤:449746650003;油性皮肤:449746650004;敏感皮肤:449746650005
member_code String 用户编号

PageResults
参数名称 类型 参数描述 备注
count int 返回数量
total int 总数量
more int 是否还有更多

PageOption
参数名称 类型 参数描述 备注
offset int 起码页号 起始页码

[校验规则]:
regex=^\d+$
limit int 每页条数 每页10条

[校验规则]:
minlength=1

PostCommentList
参数名称 类型 参数描述 备注
post_content String 正文
picInfos PicAllInfo[] 图片
post_praise String 点赞数
publish_time String 评论时间
publishedList PostPublisherList 被评论人信息
comment_code String 评论编号
postPublisherList PostPublisherList 评论人信息
comment_floor int 楼层数
ispraise String 是否点赞过 是:449746870001;否:449746870002
productinfo ProductInfo 商品
type String 评论类型 0:针对帖子的评论;1:针对帖子评论的评论

String
参数名称 类型 参数描述 备注

ProductInfo
参数名称 类型 参数描述 备注
sell_price String 商品当前价格
stock_num String 月销量
name String 商品名称
market_price String 商品原价
id String sku编码
photos String 商品图片
productType String 商品类型 明确商品类型的列表不返回 0:普通商品 1:限购商品 2:试用商品
labels String[] 商品标签