mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-12-29 00:55:48 +08:00
feat: ✨ 版本更新日志组件 (#96)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user