Пример #1
0
 /// <summary>
 /// 获取用户的按钮权限
 /// </summary>
 /// <returns></returns>
 public List <ActionPower> GetUserButtonPermission(string controller, string action, string emailAddress)
 {
     try
     {
         return(handler.GetUserButtonPermission(controller, action, emailAddress));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception innerEx)
     {
         var exception = new LogisticException(BizErrorCode.SystemError, "GetUserButtonPermission", innerEx);
         logger.Log(Level.Error, exception, "Error GetUserButtonPermission.");
         throw exception;
     }
 }