添加菜单查询

This commit is contained in:
橙子
2022-04-26 19:21:37 +08:00
parent 7e427605ab
commit 90b39d075d
6 changed files with 41 additions and 51 deletions

View File

@@ -34,9 +34,9 @@ namespace Yi.Framework.ApiMicroservice.Controllers
/// <returns></returns>
[HttpGet]
//暂未制作逻辑删除与多租户的过滤
public async Task<List<MenuEntity>> GetMenuTree()
public async Task<Result> GetMenuTree()
{
return await _iMenuService.GetMenuTreeAsync();
return Result.Success().SetData(await _iMenuService.GetMenuTreeAsync());
}
}
}