收藏回答
<p><strong>简要描述</strong>=</p>
<p>[TOC]</p>
<h5> 简要描述</h5>
<p>- 收藏回答</p>
<h5> 请求URL</h5>
<p>- <code> http://localhost:8600/user/collect/questions </code></p>
<h5> 请求方式</h5>
<p>- GET</p>
<h5> 参数</h5>
<p>- 无</p>
<h5> 返回示例 </h5>
<p>```
{
"msg": "success",
"code": 200,
"data": [
{
"title": "1",
"destName": "中国",
"content": "回答1",
"updateTime": null,
"headImg": "/images/test/personal/zhy.jpg",
"nickName": "caseycheng",
"thumbsupnum": 12,
"starnum": 12
},
{
"title": "2",
"destName": "中国",
"content": "222",
"updateTime": null,
"headImg": "/images/test/personal/zhy.jpg",
"nickName": "caseycheng",
"thumbsupnum": 1,
"starnum": 1
},
{
"title": "1",
"destName": "中国",
"content": "12123",
"updateTime": null,
"headImg": "/images/default.jpg",
"nickName": "xiaoliu",
"thumbsupnum": 12,
"starnum": 121
}
]</p>
<p>}</p>
<pre><code>
##### 返回参数说明
|参数名|类型|说明|
|:----- |:-----|----- |
|msg |String |返回结果的描述信息 |
|code |Integer |返回结果的状态码; 200:正常 |
|data |Array |返回结果的数据 |
|id |Integer |用户收藏ID |
|conImg |String |收藏回答的封面 |
|msg |String |收藏回答的内容 |
|like |Integer |收藏回答的点赞数 |
|comm |Integer |收藏回答的评论数 |
|time |DateTime |收藏回答的创建时间 |
|title |String |收藏回答所属的问题标题 |
|address |String |问题所选的地点 |
|user |String |答主的姓名 |
##### 响应失败实例
```
{
"msg": "用户未认证",
"code": 500
}</code></pre>