爆肝,重构框架,你懂得
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user