新增邮件和用户列表右键菜单
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user