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

PicInfos
参数名称 类型 参数描述 备注
picUrl String 图片url
height Integer 图片高度
width Integer 图片宽度

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

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

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

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

PageOption
参数名称 类型 参数描述 备注
limit int 每页条数 每页10条

[校验规则]:
minlength=1
offset int 起码页号 起始页码

[校验规则]:
regex=^\d+$

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