/// <summary> /// 获取所有功能数据 /// </summary> /// <returns></returns> private object GetALLModuleData() { var data = authorizeBLL.GetALLModuleList(); Dictionary <string, object> dictionary = new Dictionary <string, object>(); foreach (var item in data) { dictionary.Add(item.F_ModuleId, item); } return(dictionary); }