💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 获取多个评论信息 > 【target_type,target_id】或者【open_id】必须有一个不能为空 ~~~[api] get:/api/v1/comment/list int:parent_id#父级id open_id#评论人open_id【不为空时,只获取此用户评论的数据】 visit_open_id#当前访问的用户id【不为空时,可以获取当前访问用户的评论点赞状态】 target_type#目标(被评论的内容)类型 int:target_id#目标(被评论的内容)id int:max_cursor#最大游标(主键id),获取比他大的数据 int:min_cursor#最小游标(主键id),获取比他小的数据 <<< success { "code": 0, "msg": "success", "data": { "list": [ { "id": 47, "parent_id": 0, "open_id": "6e587f5541ec9827704121f721fcaa64", "target_type": "question", "target_id": 8, "comment_text": "14:26", "comment_image": [], "comment_audio": [], "timestamp": 1524378405, "del_status": 0, "timeformat": "2018-04-22 14:26:45", "user": { "open_id": "6e587f5541ec9827704121f721fcaa64", "name": "陈飞", "gender": 0, "photo": "http://nhl-server.780.cn/openapi/userphoto/6e587f5541ec9827704121f721fcaa64/0e1f0414e7d8b56c694fd9fcc5caa709.jpg", "_name": "陈飞" }, "like_num": 2, "like_status": 0 }, { "id": 46, "parent_id": 0, "open_id": "6e587f5541ec9827704121f721fcaa64", "target_type": "question", "target_id": 8, "comment_text": "13:41", "comment_image": [], "comment_audio": [], "timestamp": 1524375694, "del_status": 0, "timeformat": "2018-04-22 13:41:34", "user": { "open_id": "6e587f5541ec9827704121f721fcaa64", "name": "陈飞", "gender": 0, "photo": "http://nhl-server.780.cn/openapi/userphoto/6e587f5541ec9827704121f721fcaa64/0e1f0414e7d8b56c694fd9fcc5caa709.jpg", "_name": "陈飞" }, "like_num": 2, "like_status": 0 }, { "id": 44, "parent_id": 0, "open_id": "6e587f5541ec9827704121f721fcaa64", "target_type": "question", "target_id": 8, "comment_text": "请输入评论内容...111", "comment_image": [], "comment_audio": [], "timestamp": 1524374670, "del_status": 0, "timeformat": "2018-04-22 13:24:30", "user": { "open_id": "6e587f5541ec9827704121f721fcaa64", "name": "陈飞", "gender": 0, "photo": "http://nhl-server.780.cn/openapi/userphoto/6e587f5541ec9827704121f721fcaa64/0e1f0414e7d8b56c694fd9fcc5caa709.jpg", "_name": "陈飞" }, "like_num": 1, "like_status": 0 } ] } } <<< error ~~~