查看帖子
<blockquote>
<p>[GET] /postShow</p>
</blockquote>
<h3>request</h3>
<pre><code>{
"userID": int,
"articleID": int
}</code></pre>
<p>查看帖子时要后端往浏览过的帖子List里添加该帖子ID</p>
<h3>response</h3>
<pre><code>{
"success": bool, // 1代表登录成功
"data":[
"article": {
"decoration": String,
"isLike": bool,
"avatorURL": String,
"content": String,
"likeNum": int,
"commentNum": int,
"lastTime": String, // 毫秒数
"limitJoinNum": int, // 限制参加的人数
"joinNum": int, // 已参加的人数
"lastTime": String, // 活动结束的时间
"evaluate": int, // 若为null则传null,前端显示未评价
"join":bool//true表示已经参加此活动 false表示未参加此活动
},
"comment": [
{
"id": int,
"author": String,
"decoration": String,
"content": String,
"avatorURL": String
},
{
...
}
]
],
"code": [状态码],
"msg": String
}</code></pre>