using YBEE.EQM.Core;
namespace YBEE.EQM.Application
{
///
/// 菜单
///
[ApiDescriptionSettings(Name = "sys-menu")]
[Route("sys/menu")]
[AppAuthorize]
public class SysMenuAppService : IDynamicApiController
{
private readonly ISysMenuService _menuService;
public SysMenuAppService(ISysMenuService menuService)
{
_menuService = menuService;
}
///
/// 添加菜单
///
///
///
///
public Task Add(AddSysMenuInput input)
{
throw new NotImplementedException();
}
///
/// 更新菜单
///
///
///
///
public Task Update(UpdateSysMenuInput input)
{
throw new NotImplementedException();
}
///
/// 删除菜单
///
///
///
public async Task Del(DeleteSysMenuInput input)
{
await _menuService.Del(input);
}
///
/// 获取菜单列表
///
///
[DisableOpLog]
public async Task> GetAllList()
{
return await _menuService.GetAllList();
}
///
/// 获取所有菜单(树形)
///
///
[DisableOpLog]
public async Task> GetAllTreeList()
{
return await _menuService.GetAllTreeList();
}
}
}