Files
Yi.Admin/Yi.Framework.Net6/Yi.Framework.Interface/IMenuService.cs

22 lines
623 B
C#
Raw Normal View History

2022-04-26 01:31:14 +08:00
using System.Collections.Generic;
using System.Threading.Tasks;
2022-09-09 16:52:32 +08:00
using Yi.Framework.Common.Models;
2022-04-26 01:31:14 +08:00
using Yi.Framework.Model.Models;
using Yi.Framework.Repository;
namespace Yi.Framework.Interface
{
public partial interface IMenuService:IBaseService<MenuEntity>
{
Task<List<MenuEntity>> GetMenuTreeAsync();
2022-09-09 16:52:32 +08:00
Task<List<MenuEntity>> SelctGetList(MenuEntity menu);
/// <summary>
/// 获取该角色id下的所有菜单
/// </summary>
/// <param name="roleId"></param>
/// <returns></returns>
Task<List<MenuEntity>> GetListByRoleId(long roleId);
2022-04-26 01:31:14 +08:00
}
}