ReportApi.del
注意:该接口需要管理员权限才能调用。
删除举报。
方法定义
ReportApi.del(param: DeleteParams): Promise<EmptyResponse>
参数
DeleteParams ReportApi.ts:10
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
reportable_id |
是 | number |
目标ID |
reportable_type |
是 | string |
目标类型 取值范围包括: |
响应
EmptyResponse models.ts:421
参数名 | 类型 | 说明 |
---|---|---|
code |
number |
无任何错误时,状态码为 0 |
data |
null |
该字段为 |