企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 获取评价列表 **请求URL:** - ` api/goods_comment/lists ` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | |id |选填 |int |0全部1返图2好评3中评4差评 | |goods_id |必填 |int |商品id | **返回示例** ``` { "code": 1, "msg": "获取成功", "data": { "list": [{ "id": 80, "nickname": "林润-软件工程师??&", "avatar": "http://www.likeb2b2c.com:20002/uploads/user/avatar/238b4ef55e0b48cf99aa62d2da3f613d.jpeg", "name": "iphone", "goods_comment": 4, "comment": "发法分", "create_time": "2020-08-12 19:15", "uri": [{ "uri": "http://www.likeb2b2c.com:20002/44" }, { "uri": "http://www.likeb2b2c.com:20002/412" } ], "goods_comment_id": 80, "spec_value_str": "红,128", "percent": "50%" }, { "id": 48, "nickname": "林润-软件工程师??&", "avatar": "http://www.likeb2b2c.com:20002/uploads/user/avatar/238b4ef55e0b48cf99aa62d2da3f613d.jpeg", "name": "iphone", "goods_comment": 4, "comment": "222", "create_time": "2020-08-11 15:36", "uri": [], "goods_comment_id": null, "spec_value_str": "红,64", "percent": "50%" }, { "id": 45, "nickname": "林润-软件工程师??&", "avatar": "http://www.likeb2b2c.com:20002/uploads/user/avatar/238b4ef55e0b48cf99aa62d2da3f613d.jpeg", "name": "iphone", "goods_comment": 3, "comment": null, "create_time": "1970-01-01 08:00", "uri": [], "goods_comment_id": null, "spec_value_str": "红,32", "percent": "50%" }, { "id": 37, "nickname": "林润-软件工程师??&", "avatar": "http://www.likeb2b2c.com:20002/uploads/user/avatar/238b4ef55e0b48cf99aa62d2da3f613d.jpeg", "name": "iphone", "goods_comment": 3, "comment": null, "create_time": "1970-01-01 08:00", "uri": [], "goods_comment_id": null, "spec_value_str": "红,32", "percent": "50%" } ], "count": 4, "page_no": 1, "page_size": 15, "more": 0 }, "show": 0, "time": "0.147557", } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |id |int |评价id |nickname |varchar |用户昵称 |goods_name |varchar |订单商品名称 |goods_comment |tinyint |商品评分星级 |comment |varchar |商品评价 |goods_comment_id |int |评价id |create_time |int |发布时间 |uri |varchar |评价图片 |percent |varchar |好评率 **备注** -