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

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

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

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

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

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

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

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

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