## :-: **文章、视频详情**
~~~[api]
get:/api/Index/gather_info
*int:id=73#文章或者视频的id
*int:gather_type=1#详情的类型(1或者2即文章或视频)
<<<
success
{
"code": 200,
"msg": "获取数据成功",
"data": {
"id": 3,
"member_id": 1,
"title": "十年Mv",
"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,
"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"
}
}
}
~~~
### 返回字段说明
| 字段 | 说明 |
| --- | --- |
| title| 标题 |
| video_duration | 视频时长 |
| cover_url | 视频封面图 |
| video_try_url | 视频的试看路径 |
| view_counts | 视频的播放量 |
| video_url| 购买之后才会显示的视频路径 |
| member_info| 所属会员的信息 |
| favor_status | 当前用户是否是点赞,true=已点赞;false=未点赞 |
| collection_status | 当前用户是否收藏,true=已收藏;false=未收藏 |
| description | 简介 |
| content| 文章的内容 |
| is_charge| 1=付费;0=免费 |
| views| 文章的阅读量 |