文档
测试

热门话题

GET
http://192.168.1.146:8080/api/topic/{status}

请求参数

参数名
类型
描述
必填
status
string
类型(0备孕,1,已怀孕,2.已有孩子,3官方信息)
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填
data
array
热门话题
必填
updateTime
string
更新时间
必填
topic
string
话题
必填
topicStatus
string
类型(0备孕,1,已怀孕,2.已有孩子,3官方信息)
必填
topicImg
string
话题图片
必填
topicTime
string
话题发表时间
必填
participateNumber
object
参与人数
必填
topicUpdatetime
object
更新时间
必填
sort
string
置顶(0未置顶,1置顶)
必填
topicIntroduce
string
话题介绍
必填

说明 / 示例

{ "msg": "操作成功", "code": 200, "data": [ { "id": 1, "topic": "备孕中", "level": null, "topicStatus": "0", "topicImg": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/62dde97d-8f2f-4219-8ad3-185148dbb640.png", "topicTime": "2021-06-24 00:00:00", "participateNumber": null, "topicUpdatetime": null, "sort": "0", "topicIntroduce": "备孕中" }, { "id": 5, "topic": "备孕中", "level": null, "topicStatus": "0", "topicImg": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/94c0cb74-ede9-46ec-8425-2b72412a4ede.jpeg", "topicTime": "2021-06-24 00:00:00", "participateNumber": null, "topicUpdatetime": null, "sort": "1", "topicIntroduce": "备孕中" } ] }