On this page
获取分类列表
接口URL
请求方式
GET
Content-Type
form-data
路径变量
参数名 | 示例值 | 参数描述 |
---|---|---|
type | article | 分类类型:article文章,topic话题 |
成功响应示例
json
{
"code": 1,
"msg": "成功",
"data": [
{
"id": 2,
"title": "图文"
},
{
"id": 3,
"title": "体育"
},
{
"id": 4,
"title": "热点"
},
{
"id": 5,
"title": "财经"
},
{
"id": 6,
"title": "娱乐"
},
{
"id": 12,
"title": "职业圈"
},
{
"id": 13,
"title": "颜值"
},
{
"id": 14,
"title": "瞎聊"
},
{
"id": 15,
"title": "真香"
},
{
"id": 16,
"title": "汽车"
}
]
}