mirror of
https://github.com/schroinerxy/cloud-mail.git
synced 2026-06-22 03:45:52 +08:00
新增批量删除邮件
This commit is contained in:
@@ -11,3 +11,8 @@ app.delete('/allEmail/delete',async (c) => {
|
||||
const list = await emailService.physicsDelete(c, c.req.query());
|
||||
return c.json(result.ok(list));
|
||||
})
|
||||
|
||||
app.delete('/allEmail/batchDelete',async (c) => {
|
||||
await emailService.batchDelete(c, c.req.query());
|
||||
return c.json(result.ok());
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user