🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** - 获取分类列表 **请求URL:** - ` api/goods_comment/category ` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | |goods_id |必填 |int |商品id | **返回示例** ``` { "code": 1, "msg": "获取成功", "data": { "comment": [ { "name": "全部", "id": 0, "count": 2 }, { "name": "晒图", "id": 1, "count": 1 }, { "name": "好评", "id": 2, "count": 2 }, { "name": "中评", "id": 3, "count": 0 }, { "name": "差评", "id": 4, "count": 0 } ], "percent": "100%" }, "show": 0, "time": "0.600231" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |comment| array | 评论内容分类 |percent |float |好评率 **备注** -