## 获取文章详情
~~~[api]
get:index/Index/articleInfo
*article_id=1#文章的id
<<<
success
{
"code": 1,
"msg": "获取成功",
"data": [
{
"id": 1,
"title": "并发量大、数据量大的互联网业务数据库设计军规",
"src": "/uploads/71/79b9569fba68661304152ae492f6fa.png",
"intro": null,
"content": "文章的内容",
"source": "Csdn",
"clicks": 999,
"is_top": 0,
"recommend": 0,
"outside_chain": "https://blog.csdn.net/u012562943/article/details/93735268",
"navigation_id": 5,
"classify_id": "1,3",
"create_time": "2019-06-27"
}
],
"tui": [
{
"id": 20,
"title": "我是服务机构推荐的一篇文章",
"source": "55",
"src": "/uploads/9d/4eefd9585662dd18e9327761e32779.png",
"intro": "555",
"navigation_id": 5
},
{
"id": 19,
"title": "3452343",
"source": "33333",
"src": "/uploads/be/cee6e5ee9d28db6eab3e53421fefa6.png",
"intro": "333377777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777",
"navigation_id": 5
},
{
"id": 12,
"title": "7888888888888",
"source": "7888888",
"src": "/uploads/9d/4eefd9585662dd18e9327761e32779.png",
"intro": "hggggggggggggggggg",
"navigation_id": 5
},
{
"id": 1,
"title": "并发量大、数据量大的互联网业务数据库设计军规",
"source": "Csdn",
"src": "/uploads/71/79b9569fba68661304152ae492f6fa.png",
"intro": null,
"navigation_id": 5
}
],
"last_article": [
{
"id": 20,
"title": "我是服务机构推荐的一篇文章"
}
],
"next_article": [
{
"id": 12,
"title": "7888888888888"
}
]
}
<<<
error
{
code:0
msg:"获取失败"
}
~~~
### 返回字段说明
| 字段 | 说明 |
| --- | --- |
| id | 文章的ID |
| title | 文章标题 |
| src | 文章列表配图 |
| intro | 文章简介 |
| content | 文章内容 |
| source | 导航id |
| contnet | 分类id |
| source| 文章来源 |
| clicks | 点击量 |
| is_top | 1=置顶 0=取消置顶 |
| recommend | 1=推荐 0=取消推荐 |
| outside_chain | 外链 |
| navigation_id | 导航的id |
| classify_id | 分类的id |
| create_time | 文章创建时间 |