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

搜索话题

接口URL

https://sqapi2.dishawang.com/api/v1/search/topic/:page?keyword=知识

请求方式

GET

Content-Type

form-data

请求Query参数

参数名示例值参数类型是否必填参数描述
keyword知识String关键词

路径变量

参数名示例值参数描述
page1页码

成功响应示例

json
{
  "code": 1,
  "msg": "ok",
  "data": {
    "total": 3,
    "per_page": 10,
    "current_page": 1,
    "last_page": 1,
    "data": [
      {
        "id": 21,
        "title": "涨知识",
        "cover": "https://tangzhe123-com.oss-cn-shenzhen.aliyuncs.com/Appstatic/qsbk/demo/topicpic/1.jpeg",
        "desc": "快来涨知识一起进步吧",
        "create_time": null,
        "update_time": null,
        "category_id": 7,
        "article_count": 0,
        "today_article_count": 0
      },
      {
        "id": 14,
        "title": "涨知识",
        "cover": "https://tangzhe123-com.oss-cn-shenzhen.aliyuncs.com/Appstatic/qsbk/demo/topicpic/1.jpeg",
        "desc": "快来涨知识一起进步吧",
        "create_time": null,
        "update_time": null,
        "category_id": 7,
        "article_count": 0,
        "today_article_count": 0
      },
      {
        "id": 1,
        "title": "涨知识",
        "cover": "https://tangzhe123-com.oss-cn-shenzhen.aliyuncs.com/Appstatic/qsbk/demo/topicpic/1.jpeg",
        "desc": "快来涨知识一起进步吧",
        "create_time": null,
        "update_time": null,
        "category_id": 7,
        "article_count": 0,
        "today_article_count": 0
      }
    ]
  }
}