Files
Yi.Framework/Yi.Framework.Net6/Yi.Framework.Interface/RABC/IMenuService.cs
2023-01-01 23:06:11 +08:00

22 lines
636 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using Yi.Framework.Interface.Base;
using Yi.Framework.Model.RABC.Entitys;
using Yi.Framework.Repository;
namespace Yi.Framework.Interface.RABC
{
public partial interface IMenuService:IBaseService<MenuEntity>
{
Task<List<MenuEntity>> GetMenuTreeAsync();
Task<List<MenuEntity>> SelctGetList(MenuEntity menu);
/// <summary>
/// 获取该角色id下的所有菜单
/// </summary>
/// <param name="roleId"></param>
/// <returns></returns>
Task<List<MenuEntity>> GetListByRoleId(long roleId);
}
}