mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-12-29 00:55:48 +08:00
feat: ✨ 基础模块
注册登录 用户管理 角色管理 部门管理 消息管理 接口管理 菜单管理 字典管理 缓存管理 请求日志 系统设置 版本信息 代码生成
This commit is contained in:
@@ -10,14 +10,9 @@ namespace NetAdmin.SysComponent.Host.Controllers.Sys;
|
||||
/// 人机验证服务
|
||||
/// </summary>
|
||||
[ApiDescriptionSettings(nameof(Sys), Module = nameof(Sys))]
|
||||
public sealed class CaptchaController : ControllerBase<ICaptchaCache, ICaptchaService>, ICaptchaModule
|
||||
public sealed class CaptchaController(ICaptchaCache cache) : ControllerBase<ICaptchaCache, ICaptchaService>(cache)
|
||||
, ICaptchaModule
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="CaptchaController" /> class.
|
||||
/// </summary>
|
||||
public CaptchaController(ICaptchaCache cache) //
|
||||
: base(cache) { }
|
||||
|
||||
/// <summary>
|
||||
/// 获取人机校验图
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user