我的提问
<p><strong>简要描述</strong>=</p>
<p>[TOC]</p>
<h5> 简要描述</h5>
<p>- 我的提问</p>
<h5> 请求URL</h5>
<p>- <code> http://localhost:8600/user/questions</code></p>
<h5> 请求方式</h5>
<p>- GET</p>
<h5> 认证方式</h5>
<p>- token:判断是否认证,存在请求头里</p>
<h5> 参数</h5>
<p>|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|state |是 |Integer |状态 -2 关闭 -1 删除 0 草稿 1 已发布 默认已发布 |</p>
<h5> 返回示例 </h5>
<p>```
{
"msg": "success",
"code": 200,
"data": [
{
"id": 6,
"title": "11",
"content": "1212",
"viewnum": 12,
"thumbsupnum": 1212,
"starnum": 121,
"replynum": 212,
"state": 1,
"destId": 1,
"userId": 8,
"qualityScore": 2,
"createTime": null,
"updateTime": null,
"goodCommentId": "2:5:6",
"userName": "caseycheng",
"descriptionName": "中国"
},
{
"id": 9,
"title": "111",
"content": "1212",
"viewnum": 12,
"thumbsupnum": 1212,
"starnum": 121,
"replynum": 212,
"state": 1,
"destId": 1,
"userId": 8,
"qualityScore": 2,
"createTime": null,
"updateTime": null,
"goodCommentId": "2:5:6",
"userName": "caseycheng",
"descriptionName": "中国"
}
]
}</p>
<pre><code>
##### 返回参数说明
|参数名|类型|说明|
|:----- |:-----|----- |
|msg |String |返回结果的描述信息 |
|code |Integer |返回结果的状态码; 200:正常 |
|data |Array |返回结果的数据 |
|id |Integer |问题的ID |
|title |String |问题的标题 |
|msg |String |问题的内容 |
|comm |Integer |问题的回答数 |
|time |DateTime |问题的创建时间 |
|status |Integer |问题的是否已解决; 0:未解决; 1:已解决 |
|address |String |问题所选的地点 |
##### 响应失败实例
```
{
"msg": "用户未认证",
"code": 500
}</code></pre>