/// <summary>
        /// 获取单个群信息
        /// </summary>
        /// <param name="ClusterNumber">群号码</param>
        /// <returns>群信息</returns>
        private RetJsonData Action_GetClusterInfo(UInt32 ClusterNumber)
        {
            // 获取群信息
            Sdk_ClusterInfo ClusterInfo = ApiPlugin.GetClusterInfo(ClusterNumber);

            // 查找失败
            if (ClusterInfo == null)
            {
                return(new RetJsonData()
                {
                    Code = 404, Msg = "获取失败"
                });
            }

            // 结构对象
            Hashtable retData = new Hashtable()
            {
                { "ClusterNum", ClusterInfo.ClusterNum },
                { "ClusterName", ClusterInfo.ClusterName },
                { "Description", ClusterInfo.Description },
                { "Notice", ClusterInfo.Notice },
                { "Creator", ClusterInfo.Creator },
                { "NowNum", ClusterInfo.NowNum }
            };

            return(new RetJsonData()
            {
                Data = retData
            });
        }
        /// <summary>
        /// 获取单个群成员列表
        /// </summary>
        /// <param name="ClusterNumber">群号码</param>
        /// <returns></returns>
        private RetJsonData Action_GetClusterMembers(UInt32 ClusterNumber)
        {
            // 获取群信息
            Sdk_ClusterInfo ClusterInfo = ApiPlugin.GetClusterInfo(ClusterNumber);

            if (ClusterInfo == null)
            {
                return(new RetJsonData()
                {
                    Code = 404, Msg = "未找到群"
                });
            }

            // 遍历所有成员
            List <Hashtable> memberList = new List <Hashtable>();

            foreach (KeyValuePair <uint, Sdk_MemberInfo> item in ClusterInfo.MemberInfo)
            {
                //item.Key;
                var       _item      = item.Value;
                Hashtable memberInfo = new Hashtable()
                {
                    { "QQ", _item.QQ },
                    { "Nick", _item.Nick },
                    { "RemarksName", _item.RemarksName },
                    { "IsCreator", _item.IsCreator },
                    { "IsAdmin", _item.IsAdmin },
                    { "Gender", _item.Gender },
                    { "Age", _item.Age },
                    { "LastSpeak", _item.LastSpeak.ToString("yyyy-MM-dd") }
                };

                memberList.Add(memberInfo);
            }

            return(new RetJsonData()
            {
                Data = memberList
            });
        }
        /// <summary>
        /// 获取群列表
        /// </summary>
        /// <returns></returns>
        private RetJsonData Action_GetClusterList()
        {
            // 获取群信息
            Sdk_ClusterInfo ClusterInfo = ApiPlugin.GetClusterList();

            if (ClusterInfo == null)
            {
                return(new RetJsonData()
                {
                    Code = 404, Msg = "未获取到群列表"
                });
            }

            // 遍历所有成员
            List <Hashtable> clusterList = new List <Hashtable>();

            foreach (KeyValuePair <uint, Sdk_ClusterInfo> item in ClusterInfo)
            {
                //item.Key;
                var       _item       = item.Value;
                Hashtable clusterInfo = new Hashtable()
                {
                };
                clusterInfo.Add("ClusterNum", _item.ClusterNum);
                clusterInfo.Add("ClusterName", _item.ClusterName);
                clusterInfo.Add("Description", _item.Description);
                clusterInfo.Add("Notice", _item.Notice);
                clusterInfo.Add("Creator", _item.Creator);
                clusterInfo.Add("NowNum", _item.NowNum);
                clusterList.Add(clusterInfo);
            }

            return(new RetJsonData()
            {
                Data = clusterList
            });
        }