新增邮件显示已读未读功能

This commit is contained in:
eoao
2025-11-18 22:08:00 +08:00
parent aa86b2dc38
commit 0a6dbec531
12 changed files with 102 additions and 16 deletions
+5
View File
@@ -29,3 +29,8 @@ app.post('/email/send', async (c) => {
return c.json(result.ok(email));
});
app.put('/email/read', async (c) => {
await emailService.read(c, await c.req.json(), userContext.getUserId(c));
return c.json(result.ok());
})