## :-: **文章、视频列表**
~~~[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=未收藏 |