コード例 #1
0
 /// <summary>
 ///     载入用户的单页角色权限
 /// </summary>
 /// <param name="loginUser">登录用户</param>
 /// <param name="page">页面</param>
 /// <returns></returns>
 IRolePower IPowerChecker.LoadPagePower(ILoginUser loginUser, IPageItem page)
 {
     return(page == null ? null : RoleCache.LoadPagePower(loginUser.RoleId, page.Id));
 }