NotificationApi.deleteAll
注意:该接口需要登陆后才能调用。
只要没有错误异常,无论是否有通知被删除,该接口都会返回成功。
方法定义
NotificationApi.deleteAll(param: DeleteAllParams): Promise<EmptyResponse>
参数
DeleteAllParams NotificationApi.ts:17
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
type |
否 | string |
通知类型 取值范围包括: |
响应
EmptyResponse models.ts:421
参数名 | 类型 | 说明 |
---|---|---|
code |
number |
无任何错误时,状态码为 0 |
data |
null |
该字段为 |