/// <summary> /// 获取菜单 /// </summary> /// <returns></returns> public async Task <IActionResult> OnGetMenuAsync() { //return Ok(await _sysMenuService.GetMenuDtoByCacheAsync(true)); return(Ok(await _sysMenuService.GetMenuDtoByDbAsync())); }
/// <summary> /// 获取菜单 /// </summary> /// <returns></returns> public async Task <IActionResult> OnGetMenuAsync() { //return Ok(await _sysMenuService.GetMenuDtoByCacheAsync(true)); return(Ok(await _sysMenuService.GetMenuDtoByDbAsync())); }