🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** - 评论商品列表 **请求URL:** - `/shopapi/goods_comment/commentGoodsLists` **请求方式:** - get **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |type |必填 |int |0-未评论,1-已评论 | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "lists": [ { "id": 4, "goods_id": 23, "item_id": 93, "goods_image": "http://www.likeshopb2cv3.localhost//uploads/images/20210729160654f7d473774.png", "goods_name": "哈比树儿童滑滑梯室内汽车滑梯家用玩具宝宝小型秋千组合游乐园", "goods_price": "400.00", "goods_num": 1, "is_comment": 0, "goods_comment": [] }, { "id": 1, "goods_id": 24, "item_id": 64, "goods_image": "http://www.likeshopb2cv3.localhost//uploads/images/20210729160654f7d473774.png", "goods_name": "小米10青春版", "goods_price": "2099.00", "goods_num": 1, "is_comment": 1, "goods_comment": { "id": 4, "goods_comment": 5, "comment": "此用户没有填写评价", "create_time": "2021-08-06 20:15:00", "goods_comment_image": [ { "id": 3, "comment_id": 4, "uri": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" }, { "id": 4, "comment_id": 4, "uri": "http://www.likeshopb2cv3.localhost/uploads/images/20210526104909d20777188.png" } ] } } ], "count": 2, "page_no": 1, "page_size": 25, "extend": [] } } ``` **返回参数说明** |参数名 |类型 |说明 | |:--| |id |int |订单商品id | |goods_id |int |商品id | |item_id |int |规格id | |goods_image |varchar |商品图片 | |goods_name |varchar |商品名称 | |goods_price |varchar |商品价格 | |goods_num |int |商品数量 | |is_comment |int |是否已评论;0-否;1-是 | |goods_comment |array |商品评价 | |-goods_comment |int |商品评论星级 1 一星 2 二星 3三星 4四星 5五星 | |-comment |varchar |商品评价 | |-create_time |varchar |评价时间 | |-goods_comment_image |array |评价图片数组 | |--uri |varchar |评价图片 |