新增邮件和用户列表右键菜单

This commit is contained in:
eoao
2026-01-22 23:50:00 +08:00
parent 31dbf1a9e6
commit d7c3cf27b0
17 changed files with 530 additions and 131 deletions

View File

@@ -130,7 +130,7 @@ const userService = {
if (email) {
conditions.push(sql`${user.email} COLLATE NOCASE LIKE ${email + '%'}`);
conditions.push(sql`${user.email} COLLATE NOCASE LIKE ${'%'+ email + '%'}`);
}
@@ -250,6 +250,7 @@ const userService = {
const { password, userId } = params;
await this.resetPassword(c, { password }, userId);
await c.env.kv.delete(KvConst.AUTH_INFO + userId);
},
async setStatus(c, params) {