Skip to content
关注公众号,获取新课通知

获取分类列表

接口URL

https://sqapi2.dishawang.com/api/v1/category/:type

请求方式

GET

Content-Type

form-data

路径变量

参数名示例值参数描述
typearticle分类类型: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": "汽车"
    }
  ]
}