企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 获取分类列表 **请求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 |好评率 **备注** -