build: 📦 完善构建脚本 (#66)

* style: 💄 代码样式

* style: 💄 代码格式整理

* build: 📦 完善构建脚本
This commit is contained in:
2023-11-23 18:54:26 +08:00
committed by GitHub
parent 9134c4fe01
commit 0049536d2e
33 changed files with 72 additions and 83 deletions

View File

@@ -11,9 +11,8 @@ namespace NetAdmin.SysComponent.Host.Controllers.Sys;
/// </summary>
[AllowAnonymous]
[ApiDescriptionSettings(nameof(Sys), Module = nameof(Sys))]
public sealed class ConstantController
(IConstantCache cache, IOptions<JsonOptions> jsonOptions) : ControllerBase<IConstantCache, IConstantService>(cache)
, IConstantModule
public sealed class ConstantController(IConstantCache cache, IOptions<JsonOptions> jsonOptions)
: ControllerBase<IConstantCache, IConstantService>(cache), IConstantModule
{
/// <summary>
/// 获得常量字符串

View File

@@ -13,8 +13,8 @@ namespace NetAdmin.SysComponent.Host.Controllers.Sys;
/// 用户服务
/// </summary>
[ApiDescriptionSettings(nameof(Sys), Module = nameof(Sys))]
public sealed class UserController
(IUserCache cache, IConfigCache configCache) : ControllerBase<IUserCache, IUserService>(cache), IUserModule
public sealed class UserController(IUserCache cache, IConfigCache configCache)
: ControllerBase<IUserCache, IUserService>(cache), IUserModule
{
/// <summary>
/// 批量删除用户

View File

@@ -12,9 +12,8 @@ namespace NetAdmin.SysComponent.Host.Controllers.Sys;
/// 验证码服务
/// </summary>
[ApiDescriptionSettings(nameof(Sys), Module = nameof(Sys))]
public sealed class VerifyCodeController
(IVerifyCodeCache cache, ICaptchaCache captchaCache) : ControllerBase<IVerifyCodeCache, IVerifyCodeService>(cache)
, IVerifyCodeModule
public sealed class VerifyCodeController(IVerifyCodeCache cache, ICaptchaCache captchaCache)
: ControllerBase<IVerifyCodeCache, IVerifyCodeService>(cache), IVerifyCodeModule
{
/// <inheritdoc />
[NonAction]