文档
测试

三个状态所有信息

GET
http://192.168.1.146:8080/api/pregnant/{status}/{deviceId}

请求参数

参数名
类型
描述
必填
status
int
三个状态 0备孕中或1已怀孕或2已有孩子
必填
deviceId
int
用户id
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填
data
object
所有信息
必填
huluCommunityOfficial
object
官方置顶数据
必填
id
int
id
必填
name
string
昵称(官方消息)
必填
headImage
object
话题图片
必填
releaseTime
string
信息发布时间
必填
title
string
信息标题
必填
content
string
信息内容
必填
sort
int
是否置顶(0不置顶,1置顶)
必填
topicId
object
话题id
必填
commentNum
int
评论数
必填
praiseNum
object
点赞数
必填
status
string
状态(0备孕,1已怀孕,2已有孩子, 3官方消息)
必填
introduceTitle
string
介绍
必填
mesContone
string
内容一
必填
imgOne
string
图片一
必填
mescontTwo
string
内容二
必填
imgTwo
string
图片二
必填
mescontThree
string
内容三
必填
imgThree
string
图片三
必填
isPraise
Integer
点赞状态 0点赞 1未点赞
必填
huluCommunityTopic
array
热门话题置顶数据
必填
id
int
话题id
必填
updateTime
string
更新时间
必填
topic
string
话题
必填
level
object
热门等级
必填
topicStatus
string
类型(0备孕,1,已怀孕,2.已有孩子,3官方信息)
必填
topicImg
string
话题图片
必填
topicTime
string
话题发表时间
必填
participateNumber
object
参与人数
必填
topicUpdatetime
object
话题修改时间
必填
sort
string
置顶(0未置顶,1置顶)
必填
topicIntroduce
string
话题介绍
必填
huluCommunityInformationList
array
帖子所有数据
必填
id
int
信息id
必填
userName
string
昵称
必填
deviceInfoId
int
用户id
必填
status
string
状态(0备孕,1,已怀孕,2.已有孩子,3官方信息)
必填
releaseTime
string
发表时间
必填
title
object
标题
必填
content
string
内容
必填
sort
string
置顶(0未置顶,1置顶)
必填
inupdateTime
string
更新时间
必填
giveLike
object
点赞数
必填
commentNums
object
评论数
必填
masterName
string
用户昵称
必填
masterTagStageType
char
用户阶段类型 0:已有孩子,1:备孕中,2:怀孕中
必填
topicName
string
话题名
必填
masterSex
Integer
用户性别(0男 1女 2未知)
必填
isPraise
Integer
点赞状态 0点赞 1未点赞
必填
huluCommunityOfficialList
array
null
可选

说明 / 示例

{ "msg": "操作成功", "code": 200, "data": { "huluCommunityOfficial": { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": "2021-07-04 18:20:35", "remark": null, "params": { }, "id": 21, "name": "e", "headImage": null, "releaseTime": "2021-06-30 16:34:20", "title": "11", "content": null, "sort": "1", "isDel": "0", "topicId": 0, "commentId": 0, "praiseId": 0, "introduceTitle": null, "mesContone": null, "imgOne": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/7a08d9a4-b513-4cb7-b3c6-fa2f51b5dab3.jpg", "mescontTwo": null, "imgTwo": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/888c5f1f-ff6f-4534-8667-2d4587b2d23d.jpg", "mescontThree": null, "imgThree": null, "status": "0", "praiseNum": 0, "commentNum": 0 }, "huluCommunityTopic": [ { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": "2021-07-02 11:34:56", "remark": null, "params": { }, "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": "3", "topicUpdatetime": null, "sort": "1", "topicIntroduce": "备孕中" }, { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": "2021-07-02 11:35:08", "remark": null, "params": { }, "id": 6, "topic": "备孕中", "level": null, "topicStatus": "0", "topicImg": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/92e46589-af99-45c1-96c4-d698d1f1c2a2.jpeg", "topicTime": "2021-06-24 00:00:00", "participateNumber": "0", "topicUpdatetime": null, "sort": "1", "topicIntroduce": "备孕中" }, { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": "2021-06-30 09:57:45", "remark": null, "params": { }, "id": 7, "topic": "备孕中", "level": null, "topicStatus": "0", "topicImg": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/e83156c6-eebd-4fd0-a105-b92ae7aaa953.jpeg", "topicTime": "2021-06-24 00:00:00", "participateNumber": "0", "topicUpdatetime": null, "sort": "1", "topicIntroduce": "备孕中" }, { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": "2021-06-30 09:57:45", "remark": null, "params": { }, "id": 8, "topic": "备孕中", "level": null, "topicStatus": "0", "topicImg": "https://hululaoshi.oss-cn-hangzhou.aliyuncs.com/image/b1adba70-1dcb-4a50-9dbf-9039614f7522.jpeg", "topicTime": "2021-06-24 00:00:00", "participateNumber": "0", "topicUpdatetime": null, "sort": "1", "topicIntroduce": "备孕中" } ], "huluCommunityInformationList": [ { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": null, "remark": null, "params": { }, "id": 1, "deviceInfoId": 27, "userName": "备孕", "status": "0", "releaseTime": "2021-06-24 15:22:39", "title": "", "content": "备孕", "sort": "1", "isDel": "0", "topicId": 1, "inupdateTime": "2021-07-03 15:21", "praiseId": 0, "commentId": 68, "masterName": "佛门哦", "masterTagStageType": "2", "giveLike": 0, "commentNums": 3, "topicName": "备孕中" }, { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": null, "remark": null, "params": { }, "id": 9, "deviceInfoId": 27, "userName": "备孕中", "status": "0", "releaseTime": "2021-07-01 17:08:29", "title": null, "content": "备孕中", "sort": "0", "isDel": "0", "topicId": 5, "inupdateTime": "2021-07-03 15:19", "praiseId": 0, "commentId": 0, "masterName": "佛门哦", "masterTagStageType": "2", "giveLike": 0, "commentNums": 0, "topicName": "备孕中" }, { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": null, "remark": null, "params": { }, "id": 10, "deviceInfoId": 27, "userName": "备孕中", "status": "0", "releaseTime": "2021-07-01 17:08:30", "title": null, "content": "备孕中", "sort": "0", "isDel": "0", "topicId": 5, "inupdateTime": "2021-07-03 15:19", "praiseId": 0, "commentId": 0, "masterName": "佛门哦", "masterTagStageType": "2", "giveLike": 0, "commentNums": 0, "topicName": "备孕中" }, { "searchValue": null, "createBy": null, "createTime": null, "updateBy": null, "updateTime": null, "remark": null, "params": { }, "id": 11, "deviceInfoId": 27, "userName": "备孕中", "status": "0", "releaseTime": "2021-07-01 17:08:31", "title": null, "content": "备孕中", "sort": "0", "isDel": "0", "topicId": 5, "inupdateTime": "2021-07-03 15:19", "praiseId": 0, "commentId": 0, "masterName": "佛门哦", "masterTagStageType": "2", "giveLike": 0, "commentNums": 0, "topicName": "备孕中" } ], "huluCommunityOfficialList": null } }