## 獲取多個評論信息
> 【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
~~~