公开  
获取商品评论列表
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_familyhas_api_ApiGetProductCommentListCf
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
screenWidth Integer 500 屏幕宽度 屏幕宽度
paging PageOption 5,10 翻页选项 输入起始页码和每页10条
productCode String 8019404046 商品编号 商品编号
version int 版本号 仅用于扩展,无需传入
gradeType String 全部,好评,中评,差评 评分类型 评分类型
参数名称 类型 参数描述 备注
paged PageResults 翻页结果
pictureCounts Integer 有图数量
highPraiseRate String 好评率
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
lowPraiseCounts Integer 差评数量
resultMessage String 返回消息 返回的消息描述
productComment CdogProductComment[] 商品评论列表
commonPraiseCounts Integer 中评数量
highPraiseCounts Integer 好评数量
commentSumCounts Integer 全部评价数量
CdogProductComment
参数名称 类型 参数描述 备注
opposeNum int 反对数
skuStyle String sku规格
commentContent String 评论内容
skuColor String sku颜色
commentAppendList ProductCommentAppend[] 追评列表
commentTime String 评论时间
replyTime String 回复时间
uid String uid
opposeFlag String 对反对的的态度:Y做了反对点击操作 N无操作
videoList CcVideo[] 商品评论视频 评论视频信息
userMobile String 用户手机号
gradeType String 评分类型
grade String 评分
commentPhotoList PicAllInfo[]
approveFlag String 对赞成的的态度:Y做了支持点击操作 N无操作
replyContent String 回复内容
skuCode String sku编号
userFace String 用户头像
approveNum int 赞成数

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

CcVideo
参数名称 类型 参数描述 备注
ccvid String 视频CCVID
img String 视频图片
time Integer 视频时长 单位:秒
status Integer 视频状态 0:未处理好视频,1:正常可播视频,2:其他状态(违规视频)

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

ProductCommentAppend
参数名称 类型 参数描述 备注
replyTime String 回复时间
videoList CcVideo[] 商品追评视频 追评视频信息
commentPhotoList PicAllInfo[] 追评图片
commentDay String 追评天数
commentContent String 评论内容
replyContent String 回复内容
commentTime String 评论时间

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

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

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

[校验规则]:
minlength=1