🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** - 商品评价列表 **请求URL:** - `/shopapi/goods_comment/lists` **请求方式:** - get **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |id |选填 |int |0全部1返图2好评3中评4差评 | |goods_id |必填 |int |商品id | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "lists": [ { "id": 4, "goods_comment": 5, "service_comment": 5, "express_comment": 5, "description_comment": 5, "comment": "此用户没有填写评价", "reply": null, "create_time": "2021-08-06 20:15:00", "nickname": "木 直", "avatar": "http://www.likeshopb2cv3.localhost/uploads/user/avatar/6dc3a7e3f15106c69eb3e933a142156f.jpeg", "spec_value_str": "8GB+128GBB,清凉薄荷", "image": [ "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png", "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" ] } ], "count": 1, "page_no": 1, "page_size": 25, "extend": [] } } ``` **返回参数说明** |参数名 |类型 |说明 | |:--| |id |int |评价id | |goods_comment |int |商品评论星级 | |service_comment |int |服务评论星级 | |express_comment |int |物流评论星级 | |description_comment |int |描述相符星级 | |comment |varchar |商品评价 | |reply |varchar |商家回复 | |create_time |varchar |发布时间 | |nickname |varchar |用户昵称 | |avatar |varchar |用户头像 | |spec_value_str |varchar |商品规格 | |image |varchar |评价图片 |