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

获取话题详情

接口URL

https://sqapi2.dishawang.com/api/v1/topic/:id

请求方式

GET

Content-Type

form-data

路径变量

参数名示例值参数描述
id2话题ID

成功响应示例

json
{
  "code": 1,
  "msg": "ok",
  "data": {
    "id": 2,
    "title": "鬼畜中心",
    "cover": "https://tangzhe123-com.oss-cn-shenzhen.aliyuncs.com/Appstatic/qsbk/demo/datapic/26.jpg",
    "desc": "分享鬼畜内容",
    "create_time": null,
    "update_time": "2024-01-31 01:51:32",
    "category_id": 7,
    "article_count": 11,
    "today_article_count": 0,
    "category_name": "搞笑区"
  }
}

错误响应示例

json
{
  "code": 0,
  "msg": "没有找到数据",
  "data": null
}