文档
测试

话题动态列表

POST
/api/topicDongtaiList

请求参数

参数名
类型
描述
必填
page
int
当前页码
必填
pageSize
int
每页条数
必填
topicId
string
话题ID
可选
orderBy
string
排序方式,time按时间最新,hot按热度,默认time
可选

响应参数

参数名
类型
描述
必填
list
array
数据列表
必填
_id
string
动态ID
必填
content
string
文字内容
必填
voice
string
语音文件名字
必填
voiceSeconds
int
录音时长
必填
images
array
动态图片名字数组
必填
hotValue
int
热度值,一般是打开一次动态详情增加一次,打赏也会根据礼物的价值增加相应的数值
必填
time
int
发布时间,时间戳,秒
必填
topicId
string
所选话题ID
必填
topicName
string
话题名字,不包含#号,例如:情人节你怎么过
必填
userData
dict
用户数据
必填
_id
string
用户ID
必填
nickname
string
昵称
必填
sex
string
性别
必填
age
string
年龄
必填
head
string
头像图片名字
必填
city
string
所在城市名字
必填
isFollowHe
bool
我有没关注他
必填
commentCount
int
评论数量
必填