malaohu说:
ChatGPT 说:
malaohu说:
NodeBB 通知设置已读接口?
NodeBB有一个API叫做“markAllNotificationsRead”,它可以完成这个任务。它的文档可以在这里找到:https://docs.nodebb.org/api/notifications/#markallnotificationsread
这个API不存在
,只有“markTopicNotificationsRead”和“markNotificationRead”两个API。它们的文档可以在这里找到:
https://docs.nodebb.org/api/notifications/#marktopicnotificationsread
https://docs.nodebb.org/api/notifications/#marknotificationread