feat: 快捷启用/禁用用户 (#91)

fix: 前端界面一些缺陷
This commit is contained in:
2024-02-22 23:01:19 +08:00
committed by GitHub
parent ad3eab929d
commit 6c2d1676e4
54 changed files with 469 additions and 308 deletions

View File

@@ -174,6 +174,15 @@ public sealed class UserController(IUserCache cache, IConfigCache configCache)
return Cache.SetEmailAsync(req);
}
/// <summary>
/// 启用/禁用用户
/// </summary>
[Transaction]
public Task SetEnabledAsync(SetUserEnabledReq req)
{
return Cache.SetEnabledAsync(req);
}
/// <summary>
/// 设置手机号
/// </summary>