加载帖子列表
GET
/api/topic/post/list
接口描述
加载帖子列表
请求参数
参数名
类型
描述
必填
topicId
long
圈子id
必填
keyword
string
关键字搜索
必填
响应参数
参数名
类型
描述
必填
total
int
示例:1
必填
postId
int
帖子id
必填
topicId
int
圈子id
必填
userId
object
帖子用户id
必填
postCont
string
帖子内容
必填
postImg
object
示例:null
必填
likeNum
int
点赞数
必填
commentNum
int
评论数
必填
postImgs
array
图片列表
必填
isLike
int
用户是否点赞过 1是0不是
必填
createTime
string
示例:2021-07-21T23:27:19.000+0800
必填
nickName
string
发布者名称
必填
icon
string
头像
必填
title
string
帖子标题
必填
isFollow
int
是否已关注 1是0不是
必填
postType
帖子类型
1视频2图片3纯文字
必填
width
int
宽
必填
height
int
高
必填
duration
int
视频时长,单位 (秒)
必填
url
string
视频地址
必填
code
int
示例:200
必填
msg
string
示例:查询成功
必填