2.8 商品评论列表第一页
2.8 商品评论列表第一页
HTTP请求方式:POST
METHOD:b2c.product.goodsDiscuss
完整的HTTP请求参数(由下边各个参数的值自动生成,可直接复制至剪切板): 复制至剪切板
详解HTTP请求参数:添加参数 查看参数说明....
返回结果(JSON) 格式化json
数据说明:
{
"comments": {
"list": {
"discuss": [
{
"comment_id": "79932",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "31313",//用户id
"author": "沐恩moooon",//用户名
"comment": "很不错,保质期也很长",//评论内容
"time": "1441069509",//评论时间
"lastreply": "1464074892",//回复时间
"member_lv_name": "普通会员",//会员等级
"member_lv_logo": null,//会员logo
"goods_point": 5,//会员评分
"items": [//回复评论的信息
{
"comment_id": "80022",
"product_id": "0",
"for_comment_id": "79932",
"object_type": "discuss",
"author_id": "4",
"author": "y2kkao",
"comment": "呵呵呵呵呵呵呵呵",
"time": "1464074892",
"lastreply": "1464074892",
"member_lv_name": "普通会员",
"member_lv_logo": null
}
]
},
{
"comment_id": "79714",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "31664",
"author": "匿名",
"comment": "赞!!!",
"time": "1440983009",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "79087",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "31879",
"author": "celineng",
"comment": "给宝宝买的小小一根正好的量,我也喜欢。",
"time": "1440807966",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "78472",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "30525",
"author": "匿名",
"comment": "QWQ 二次入 太好吃了",
"time": "1440606801",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "77809",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "31179",
"author": "匿名",
"comment": "还不错 可能还是小孩子会喜欢 大人一般吧",
"time": "1440319288",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "77654",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "6494",
"author": "匿名",
"comment": "吃起来真的停不下来",
"time": "1440276800",
"lastreply": "0",
"member_lv_name": "高级会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "77219",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "31548",
"author": "pency0717@gmail.com",
"comment": "東西好快,5天就收到了,絕對會回來再買的!",
"time": "1440083977",
"lastreply": "1440115408",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "76096",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "30525",
"author": "匿名",
"comment": "QWQ好吃到哭儿",
"time": "1439539209",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "75613",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "25836",
"author": "匿名",
"comment": "非常快",
"time": "1439425649",
"lastreply": "0",
"member_lv_name": "高级会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "74150",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "29661",
"author": "匿名",
"comment": "good",
"time": "1438829598",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
}
]
},
"setting": {//设置
"switch_reply": "on",//开启回复
"verifyCode": "off",//关闭验证码
"submit_comment_notice": "",//用户填写评论时所见提示
"goods_discuss_notice": "",//商品评论说明
"goods_point_status": "on",//开启商品评分
"submit_notice": "感谢您的分享,管理员审核后会自动显示!",//提交后提示语
"power_status": false,//不可回复和咨询 ,true 可回复和咨询
"power_message": null//对应power_status禁用的原因:need_login未登录
"null_notice": null//无评论时缺省文字
"login": 'nologin'//未登录 已登录没有该字段
},
"goods_point": {//商品评分
"avg": 5,
"total": "284.0",
"avg_num": "5.0"
},
"total_point_nums": 57,//评论人数
"_all_point": [//扩展评分项
{
"avg": "5.0",
"total": "284.0",
"type_name": "综合评分"
}
]
},
"pager": {//分页
"current": 1,
"total": 6,
"dataCount": 57,
"pageLimit": 10
},
"goods_id": "429",
"page_type": "tab",
"goodsDiscuss_type": [//商品评论类型
{
"value": "all",
"name": "全部",
"count": "60"
},
{
"value": "hasimage",
"name": "晒图",
"count": "0"
},
{
"value": "best",
"name": "好评",
"count": "60"
},
{
"value": "normal",
"name": "中评",
"count": "1"
},
{
"value": "bad",
"name": "差评",
"count": "0"
}
]
}
"comments": {
"list": {
"discuss": [
{
"comment_id": "79932",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "31313",//用户id
"author": "沐恩moooon",//用户名
"comment": "很不错,保质期也很长",//评论内容
"time": "1441069509",//评论时间
"lastreply": "1464074892",//回复时间
"member_lv_name": "普通会员",//会员等级
"member_lv_logo": null,//会员logo
"goods_point": 5,//会员评分
"items": [//回复评论的信息
{
"comment_id": "80022",
"product_id": "0",
"for_comment_id": "79932",
"object_type": "discuss",
"author_id": "4",
"author": "y2kkao",
"comment": "呵呵呵呵呵呵呵呵",
"time": "1464074892",
"lastreply": "1464074892",
"member_lv_name": "普通会员",
"member_lv_logo": null
}
]
},
{
"comment_id": "79714",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "31664",
"author": "匿名",
"comment": "赞!!!",
"time": "1440983009",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "79087",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "31879",
"author": "celineng",
"comment": "给宝宝买的小小一根正好的量,我也喜欢。",
"time": "1440807966",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "78472",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "30525",
"author": "匿名",
"comment": "QWQ 二次入 太好吃了",
"time": "1440606801",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "77809",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "31179",
"author": "匿名",
"comment": "还不错 可能还是小孩子会喜欢 大人一般吧",
"time": "1440319288",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "77654",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "6494",
"author": "匿名",
"comment": "吃起来真的停不下来",
"time": "1440276800",
"lastreply": "0",
"member_lv_name": "高级会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "77219",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "31548",
"author": "pency0717@gmail.com",
"comment": "東西好快,5天就收到了,絕對會回來再買的!",
"time": "1440083977",
"lastreply": "1440115408",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "76096",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "30525",
"author": "匿名",
"comment": "QWQ好吃到哭儿",
"time": "1439539209",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "75613",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "25836",
"author": "匿名",
"comment": "非常快",
"time": "1439425649",
"lastreply": "0",
"member_lv_name": "高级会员",
"member_lv_logo": null,
"goods_point": 5
},
{
"comment_id": "74150",
"product_id": "1190",
"for_comment_id": "0",
"object_type": "discuss",
"author_id": "29661",
"author": "匿名",
"comment": "good",
"time": "1438829598",
"lastreply": "0",
"member_lv_name": "普通会员",
"member_lv_logo": null,
"goods_point": 5
}
]
},
"setting": {//设置
"switch_reply": "on",//开启回复
"verifyCode": "off",//关闭验证码
"submit_comment_notice": "",//用户填写评论时所见提示
"goods_discuss_notice": "",//商品评论说明
"goods_point_status": "on",//开启商品评分
"submit_notice": "感谢您的分享,管理员审核后会自动显示!",//提交后提示语
"power_status": false,//不可回复和咨询 ,true 可回复和咨询
"power_message": null//对应power_status禁用的原因:need_login未登录
"null_notice": null//无评论时缺省文字
"login": 'nologin'//未登录 已登录没有该字段
},
"goods_point": {//商品评分
"avg": 5,
"total": "284.0",
"avg_num": "5.0"
},
"total_point_nums": 57,//评论人数
"_all_point": [//扩展评分项
{
"avg": "5.0",
"total": "284.0",
"type_name": "综合评分"
}
]
},
"pager": {//分页
"current": 1,
"total": 6,
"dataCount": 57,
"pageLimit": 10
},
"goods_id": "429",
"page_type": "tab",
"goodsDiscuss_type": [//商品评论类型
{
"value": "all",
"name": "全部",
"count": "60"
},
{
"value": "hasimage",
"name": "晒图",
"count": "0"
},
{
"value": "best",
"name": "好评",
"count": "60"
},
{
"value": "normal",
"name": "中评",
"count": "1"
},
{
"value": "bad",
"name": "差评",
"count": "0"
}
]
}