~~~[api] get:http://dev.kekezu.net/api/shop/commentList *shop_id#店铺id page#分页 type#分类筛选 0:全部 1:好评 2:中评 3:差评 <<< success { "code": 1000, "message": "获取店铺评价信息成功", "data": { "total": 29,------------------------------总数 "per_page": 2,-----------------------每页显示条数 "current_page": "1",-----------------------当前页 "last_page": 5,-------------------------------------末页 "all_comment": 31,--------------------------------全部评价数 "good_comment": 28,------------------------------好评数 "mid_comment": 2,---------------------------------中评数 "bad_comment": 1,----------------------------------差评数 "data": [ { "name": "sunbeibei",-----------------------------------评价人用户名 "avatar": "",----------------------------------------------评价人头像 "avg_score": "5.0",-------------------------------------综合评分 "comment_desc": null,--------------------------------评价内容 "created_at": "2016年09月24日",----------------------评价时间 "desc": "成交10.00元/个"------------------------------描述 }, { "name": "peter2016", "avatar": "http://demo.kppw.cn/attachment/user/2017/01/09/0a25efdf848b2c5bf2d0bace78899447.jpg", "avg_score": "5.0", "comment_desc": null, "created_at": "2016年09月24日", "desc": "成交100.00元/个" }, { "name": "peter2016", "avatar": "http://demo.kppw.cn/attachment/user/2017/01/09/0a25efdf848b2c5bf2d0bace78899447.jpg", "avg_score": "5.0", "comment_desc": null, "created_at": "2016年09月24日", "desc": "成交500.00元/套" }, { "name": "test", "avatar": "http://demo.kppw.cn/attachment/user/2016/07/04/686fd3ec98f7f87bfc382b994cb9ddde.jpg", "avg_score": "5.0", "comment_desc": "对威客的评价", "created_at": "2017年08月10日", "desc": "成交5200元" }, { "name": "test", "avatar": "http://demo.kppw.cn/attachment/user/2016/07/04/686fd3ec98f7f87bfc382b994cb9ddde.jpg", "avg_score": "5.0", "comment_desc": "5t", "created_at": "2017年08月16日", "desc": "成交602元" }, { "name": "test", "avatar": "http://demo.kppw.cn/attachment/user/2016/07/04/686fd3ec98f7f87bfc382b994cb9ddde.jpg", "avg_score": "5.0", "comment_desc": "服务很好", "created_at": "2017年08月16日", "desc": "成交603元" } ], "attitude_score": "4.5",---------------------综合态度评分 "speed_score": "5.0",--------------------综合速度评分 "quality_score": "5.0",-----------------------综合质量评分 "avg_score": "4.8"-----------------------------店铺综合评分 } } <<< remark code 1000/1016 message 获取商品信息成功/传送参数错误 data ~~~