/// <summary>
 /// 取得权限列表
 /// </summary>
 /// <param name="param"></param>
 /// <returns></returns>
 public static List <SingleField> GetAuthList(UserAuthParam param)
 {
     try
     {
         if (param == null)
         {
             throw new Exception("LoginUser is null");
         }
         List <SingleField> lstResult = factory.GetAuthList(param);
         if (lstResult == null || lstResult.Count == 0)
         {
             throw new Exception("DAL.SOAccount.AccountFactory.GetAuthList()==null");
         }
         return(lstResult);
     }
     catch (Exception ex)
     {
         LogHelper.WriteLog(new Log()
         {
             message = ex.Message
         }, "GetAuthList");
         return(null);
     }
 }