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