TopicApi.del
注意:该接口需要管理员权限才能调用。
删除话题。
只要没有错误异常,无论是否有话题被删除,该接口都会返回成功。
方法定义
TopicApi.del(param: DeleteParams): Promise<EmptyResponse>
参数
DeleteParams TopicApi.ts:13
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
topic_id |
是 | number |
话题ID |
响应
EmptyResponse models.ts:421
参数名 | 类型 | 说明 |
---|---|---|
code |
number |
无任何错误时,状态码为 0 |
data |
null |
该字段为 |