获取用户信息
<blockquote>
<p>[GET] /userShow</p>
</blockquote>
<p>获取用户基本信息</p>
<h3>request</h3>
<pre><code>{
"userID": int
}</code></pre>
<h3>response</h3>
<pre><code>{
"success": bool,
"data": {
"nickname": String,
"decoration": String,
"likeNum": int, // 该用户所发布的文章的点赞数
"creditWorthiness": int, // 信誉积分
"articles": [ // 该帖子为用户发布的帖子信息
{
"articleID":int,
"title": String,
"author": String,// 作者
"content": String //30字
},
{
...
}
]
},
"code": [状态码],
"msg": String
}</code></pre>