2、获取文章详情
GET
http://localhost:88/api/post/post/getpostdetail?id=1493117786762743809
接口描述
根据文章id获取文章详情
请求参数
参数名
类型
描述
必填
id
int
文章id
必填
响应参数
参数名
类型
描述
必填
msg
string
提示信息
必填
code
int
0-成功,其他业务码-失败
必填
id
string
文章id
必填
title
string
文章标题
必填
content
string
文章内容
必填
userId
string
作者id
必填
comments
int
评论数
必填
collects
int
收藏数
必填
view
int
浏览量
必填
sectionId
int
专栏ID,默认不分栏
必填
top
int
是否置顶
必填
essence
int
是否加精
必填
createTime
string
创建时间
必填
modifyTime
string
修改时间
必填
id
string
作者id
必填
username
string
作者账号
必填
alias
string
作者昵称
必填
avatar
string
头像地址
必填
followCount
object
关注数
必填
followerCount
int
粉丝数
必填
topicCount
int
文章数
必填
columns
object
专栏数
必填
commentCount
object
评论数
必填