feat: 版本更新日志组件 (#96)

This commit is contained in:
2024-03-02 23:06:04 +08:00
committed by GitHub
parent 8fee14cd6e
commit a37acc4b55
130 changed files with 978 additions and 3246 deletions

View File

@@ -12,6 +12,15 @@ namespace NetAdmin.SysComponent.Host.Controllers.Sys;
[ApiDescriptionSettings(nameof(Sys), Module = nameof(Sys))]
public sealed class ToolsController(IToolsCache cache) : ControllerBase<IToolsCache, IToolsService>(cache), IToolsModule
{
/// <summary>
/// 获取更新日志
/// </summary>
[AllowAnonymous]
public Task<string> GetChangeLogAsync()
{
return Cache.GetChangeLogAsync();
}
/// <summary>
/// 获取模块信息
/// </summary>