新增全部用户查看删除邮箱

This commit is contained in:
eoao
2025-09-21 19:20:00 +08:00
parent 457304eafb
commit 82bd308d56
21 changed files with 244 additions and 77 deletions

View File

@@ -74,6 +74,10 @@ const userService = {
return orm(c).select().from(user).where(sql`${user.email} COLLATE NOCASE = ${email}`).get();
},
selectByIdIncludeDel(c, userId) {
return orm(c).select().from(user).where(eq(user.userId, userId)).get();
},
selectById(c, userId) {
return orm(c).select().from(user).where(
and(