public string GetUserFunction(int _nUserId) { SystemFunction tree = new SystemFunction(); tree.RootNode = new TreeNode("系统功能", ""); tree.IsDisplayRootNode = true; tree.InitNodes(new List<SystemFunction>(SystemFunction.GetUserFunctin(_nUserId))); return tree.RootNode.ToJSON(); }