文档
测试

社区话题页

POST
https://yuer.guojimami.com/apicommunity/communityTopic

接口描述

具体参考下面的示例

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
status
string
示例:ok
必填
msg
string
示例:获取成功
必填
banner_list
array
数据列表 banner图
必填
img
string
示例:https://m.guojimami.com/data/community_topic_banner/1600388757990985917.jpg
必填
link
string
示例:https://m.guojimami.com/article.php?id=6698
必填
hot_topic_list
object
数据字典 热点话题
必填
title_name
string
示例:热点话题
必填
is_use_title
string
示例:1
必填
sort_order
string
示例:1
必填
model
string
示例:热点话题
必填
hot_topic
array
数据列表
必填
topic_id
string
示例:2
必填
topic_name
string
示例:宝宝知识
必填
topic_icon
string
示例:https://m.guojimami.com/data/community_topic/1599611323399453018.jpeg
必填
default_attention
string
示例:9000
必填
attention_count
int
示例:9001
必填
is_more
int
示例:0
必填
list_topic_list
object
数据字典 排行榜话题
必填
title_name
string
示例:话题排行榜
必填
is_use_title
string
示例:1
必填
sort_order
string
示例:2
必填
model
string
示例:话题排行榜
必填
list_topic
array
数据列表
必填
topic_id
string
示例:1
必填
topic_name
string
示例:宝宝喂养
必填
topic_icon
string
示例:https://m.guojimami.com/data/community_topic/1599611314405595111.jpeg
必填
default_attention
string
示例:10000
必填
attention_count
string
示例:1万
必填
is_more
int
示例:0
必填
topic_type_list
object
数据字典 话题分类 这里只获取话题分类 分类里面的话题数据 根据另外一个接口获取
必填
title_name
string
示例:全部话题
必填
is_use_title
string
示例:1
必填
sort_order
string
示例:3
必填
model
string
示例:全部话题
必填
topic_type
array
数据列表
必填
type_id
string
示例:2
必填
type_name
string
示例:祝我好孕
必填

说明 / 示例

{ "code": "200", "status": "ok", "msg": "获取成功", "week_topic": [ { "topic_id": "1", "topic_name": "宝宝喂养", "topic_icon": "", "default_attention": "10000", "attention_count": "1万" } ], "list_topic": [ { "topic_id": "2", "topic_name": "宝宝知识", "topic_icon": "", "default_attention": "9000", "attention_count": 9000 }, { "topic_id": "1", "topic_name": "宝宝喂养", "topic_icon": "", "default_attention": "10000", "attention_count": "1万" } ], "type_topic": [ { "topic_id": "1", "topic_name": "宝宝喂养", "topic_icon": "", "default_attention": "10000", "attention_count": "1万", "join_count": null, "dynamic_count": null } ], "topic_type": [ { "type_id": "1", "type_name": "育儿" }, { "type_id": "2", "type_name": "宝宝学习" } ], "page_count": 1 } ![image.png](https://cos.easydoc.net/67131526/files/kcws596v.png)