多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
~~~[api] get:api/comment/comment/list *target_id#目标id,例如文章则是文章的article_id *int:target_type#目标类别,1:文章|活动|课程 int:index=1#页码,默认为1 int:limit=20#每页显示的条数 <<< success { "code": 0, "msg": "ok", "data": { "list": [ { "id": 4, "parent_id": 0, "open_id": "hunyr", "target_id": "78fac7088eb8c4558602051a7cb79003", "target_type": "1", "content": "评论内容评论内容1", "create_time": "2019-01-24 17:26:54", "child": [] }, { "id": 3, "parent_id": 0, "open_id": "hunyr", "target_id": "78fac7088eb8c4558602051a7cb79003", "target_type": "1", "content": "评论内容评论内容", "create_time": "2019-01-24 17:26:52", "child": [] } ], "count": 3, "totalPage": 1 } } <<< error { "code": -1, "msg": "未获取到评论配置", "data": [] } <<< error { "code": -1, "msg": "不允许显示评论", "data": [] }