/// <summary> /// 获取菜单所有列表 /// </summary> /// <param name="loginInfo"></param> /// <returns></returns> public List <BsDictionary> GetList() { try { RequestBase request = RequestBase.Get.Clone() as RequestBase; request.Url = GetListUrl; return(sdkUtil.PostForResultListVo <BsDictionary>(request)); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } return(new List <BsDictionary>()); }
/// <summary> /// 获取树列表【平台】 /// </summary> /// <param name="PlatformNo"></param> /// <param name="Url"></param> /// <returns></returns> private List <TreeNodeInfo> GetTreeListByPlatform(long PlatformNo, string Url) { try { RequestBase request = RequestBase.Get.Clone() as RequestBase; request.Url = Url; request.SetValue("platformNo", PlatformNo); return(sdkUtil.PostForResultListVo <TreeNodeInfo>(request)); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } return(new List <TreeNodeInfo>()); }