## :-: **首页内容**
~~~[api]
get:/api/Index/question
<<<
success
{
"code": 200,
"msg": "获取成功",
"count": 2,
"data": [
{
"id": 4,
"problem": "买了个表",
"views": 0,
"content": "<p>是</p>",
"member_id": 1,
"is_answer": 2,
"member_info": {
"name": "羊叫兽",
"avatar": "https://pic4.zhimg.com/v2-2729b8ca50add732be47842b05f895a4_s.jpg?source=06d4cd63"
},
"answer": "图文"
},
{
"id": 1,
"problem": "我是你爹地?",
"views": 0,
"content": "那我走?",
"member_id": 2,
"is_answer": 1,
"member_info": {
"name": "狗专家",
"avatar": "https://pic4.zhimg.com/v2-8ff15e2ca960edc1143f58ba81dd5c86_s.jpg?source=06d4cd63"
},
"answer": "简答"
}
]
}
~~~
### 返回字段说明
| 字段 | 说明 |
| --- | --- |
| id | 问答的id |
| problem | 问题 |
| content | 内容 |
| views | 阅读量 |
| member_id | 该内容的所属会员 |
| is_answer| 1=简答;2=问答 |
| member_info | 所属会员的信息 |
| answer | 类别 |