新增邮箱列表置顶排序

This commit is contained in:
eoao
2026-01-20 21:46:00 +08:00
parent cbae3ffbdf
commit 8a47418c91
8 changed files with 94 additions and 24 deletions

View File

@@ -27,3 +27,8 @@ app.put('/account/setAllReceive', async (c) => {
await accountService.setAllReceive(c, await c.req.json(), userContext.getUserId(c));
return c.json(result.ok());
});
app.put('/account/setAsTop', async (c) => {
await accountService.setAsTop(c, await c.req.json(), userContext.getUserId(c));
return c.json(result.ok());
});