## :-: **文章、視頻列表**
~~~[api]
get:/api/Index/gather_list
*int:gather_type=1#列表的類型(1或者2即文章或視頻)
int:catid=1#當前欄目的id
int:is_charge=1#1=付費;0=免費
<<<
success
{
"code": 200,
"msg": "獲取數據成功",
"data": {
"id": 3,
"member_id": 1,
"title": "十年Mv",
"description": "《十年》-陳奕迅(肥陳)",
"video_duration": "211.140000",
"cover_url": "2021/0621/d1da6474040807e9cc24b42b67e63230.jpg",
"video_try_url": "2021/0621/d1da6474040807e9cc24b42b67e63230_try.mp4",
"create_time": "2021-06-21 13:45:03",
"view_counts": 0,
"price": "0.00",
"favor_status": false,
"collection_status": false,
"video_url": "2021/0621/d1da6474040807e9cc24b42b67e63230.mp4",
"member_info": {
"name": "羊叫獸",
"avatar": "https://pic4.zhimg.com/v2-2729b8ca50add732be47842b05f895a4_s.jpg?source=06d4cd63"
}
}
}
~~~
### 返回字段說明
| 字段 | 說明 |
| --- | --- |
| id | 集合類的id |
| gather_id | 文章或者視頻的ID |
| gather_type | 1=文章;2=視頻 |
| catid | 分類的ID |
| member_id | 該內容的所屬會員 |
| is_charge| 1=付費;0=免費 |
| recommend | 1=推薦;0=不推薦 |
| gather_info | 文章或者視頻的信息 |
| category_text | 分類的名字 |
| charge_text | 是否免費 |
| price | 金額 |
| member_info | 所屬會員的信息 |
| favor_status | 當前用戶是否是點贊,true=已點贊;false=未點贊 |
| collection | 當前用戶是否收藏,true=已收藏;false=未收藏 |