feat: 框架代码同步 (#150)

Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
2024-07-03 22:09:58 +08:00
committed by GitHub
parent beba4124b0
commit e1b0030193
263 changed files with 2604 additions and 684 deletions

View File

@@ -67,6 +67,15 @@ public sealed class MenuController(IMenuCache cache) : ControllerBase<IMenuCache
return Cache.ExistAsync(req);
}
/// <summary>
/// 导出菜单
/// </summary>
[NonAction]
public Task<IActionResult> ExportAsync(QueryReq<QueryMenuReq> req)
{
return Cache.ExportAsync(req);
}
/// <summary>
/// 获取单个菜单
/// </summary>