diff --git a/docs/dev/api/API-10-搜索通知举报.md b/docs/dev/api/API-10-搜索通知举报.md index d6fed09..9baf67b 100644 --- a/docs/dev/api/API-10-搜索通知举报.md +++ b/docs/dev/api/API-10-搜索通知举报.md @@ -103,6 +103,8 @@ |------|-------------|---------------| | like | post | 被点赞的内容 ID(post._id) | | comment | post | 被评论的内容 ID(post._id) | +| mention | post | @ 提及所在的内容 ID(post._id) | +| creator_publish | post | 创作者新发布内容 ID(post._id) | | follow | user | 关注者的用户 ID(user._id) | | subscription | user | 订阅者的用户 ID(user._id) | | purchase | order | 订阅订单 ID(subscription_order._id) | @@ -139,13 +141,14 @@ | list | array | 通知列表 | | list[].notificationId | string | 通知ID | | list[].category | string | 分类 | -| list[].type | string | 具体类型:like/comment/subscription/follow/purchase/ppv_unlock/system | +| list[].type | string | 具体类型:like/comment/mention/creator_publish/subscription/follow/purchase/ppv_unlock/system | | list[].title | string | 通知标题 | | list[].content | string | 通知内容 | | list[].sender | object/null | 触发者信息 | | list[].sender.userId | string | 触发者ID | | list[].sender.nickname | string | 昵称 | | list[].sender.avatar | url | 头像 | +| list[].coverUrl | url | 关联内容封面;当 relatedType=post 且可解析到内容封面时返回 | | list[].relatedId | string | 关联对象ID(含义见下表) | | list[].relatedType | string | 关联类型:post/user/order | | list[].isRead | boolean | 是否已读 |