mirror of
https://github.com/schroinerxy/cloud-mail.git
synced 2026-06-22 03:45:52 +08:00
新增邮件显示已读未读功能
This commit is contained in:
@@ -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());
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user