多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**简要描述:** - 商品评价分类 **请求URL:** - `/shopapi/goods_comment/commentCategory` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |goods_id |是 |int |商品ID | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "comment": [ { "id": 0, "name": "全部", "count": 1 }, { "id": 1, "name": "晒图", "count": 1 }, { "id": 2, "name": "好评", "count": 1 }, { "id": 3, "name": "中评", "count": 0 }, { "id": 4, "name": "差评", "count": 0 } ], "percent": "100%" } } ``` **返回参数:** |参数名 |类型 |说明 | |:--| |comment |array |分类 | |-id |int |ID | |-name |string |名称 | |-count |int |数量 | |percent |string |好评率 |