ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**简要描述:** - 获取评价列表 **请求URL:** - ` api/goods_comment/lists ` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | |id |选填 |int |0全部1返图2好评3中评4差评 | |goods_id |必填 |int |商品id | **返回示例** ``` { "code": 1, "msg": "获取成功", "data": { "list": [ { "id": 4, "goods_comment": 4, "service_comment": 4, "express_comment": 4, "comment": "4", "description_comment": 4, "reply": null, "create_time": "2020-11-11 15:04:11", "nickname": "广东", "avatar": "uploads/user/avatar/e61ef7200efa94458157adb572239952.jpeg", "spec_value_str": "蛋黄酥6枚/盒(红豆口味)", "image": [ "http://likeshop.yixiangonline.com/uploads/images/background/20201021/5d9ea8a3aa9a7e9b8dd677467fffddbd.jpg", "http://likeshop.yixiangonline.com/uploads/images/background/20201021/5d9ea8a3aa9a7e9b8dd677467fffddbd.jpg" ] }, { "id": 3, "goods_comment": 4, "service_comment": 4, "express_comment": 4, "comment": "4", "description_comment": 4, "reply": null, "create_time": "2020-11-11 15:04:11", "nickname": "哈哈", "avatar": "uploads/user/avatar/024443c86324743696399c44c631902c.jpeg", "spec_value_str": "蛋黄酥6枚/盒(红豆口味)", "image": [] } ], "count": 2, "percent": "100%", "page_no": 1, "page_size": 15, "more": 0 }, "show": 0, "time": "0.430247" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |id |int |评价id |goods_comment|int|商品评论星级 |service_comment|int|服务评论星级 |express_comment|int|物流评论星级 |nickname |varchar |用户昵称 |avatar|varchar |用户头像 |comment |varchar |商品评价 |create_time |varchar|发布时间 |reply|varchar|商家回复 |image|varchar |评价图片 |percent |varchar |好评率 **备注** -