/// <summary>
        /// 中間件踢人
        /// </summary>
        /// <returns></returns>
        public Message JW2_Center_Kick_Query()
        {
            string strDesc  = "";
            string serverIP = "";
            int    result   = -1;

            string userid   = "";
            string Reason   = "";
            int    userSN   = 0;
            string UserName = "";
            string UserNick = "";
            string charkey  = "";
            int    userbyid = 0;

            try
            {
                //ip
                serverIP = Encoding.Default.GetString(msg.m_packet.m_Body.getTLVByTag(TagName.JW2_ServerIP).m_bValueBuffer);
                //操作员id
                TLV_Structure strut = new TLV_Structure(TagName.UserByID, 4, msg.m_packet.m_Body.getTLVByTag(TagName.UserByID).m_bValueBuffer);
                userbyid = (int)strut.toInteger();
                //昵称
                UserNick = Encoding.Default.GetString(msg.m_packet.m_Body.getTLVByTag(TagName.JW2_UserNick).m_bValueBuffer);
                //用户名
                UserName = Encoding.Default.GetString(msg.m_packet.m_Body.getTLVByTag(TagName.JW2_UserID).m_bValueBuffer);
                //角色id
                strut  = new TLV_Structure(TagName.Magic_PetID, 4, msg.m_packet.m_Body.getTLVByTag(TagName.JW2_UserSN).m_bValueBuffer);
                userSN = (int)strut.toInteger();

                SqlHelper.log.WriteLog(lg.JW2API_BrowseServerAddress + CommonInfo.serverIP_Query(serverIP) + lg.JW2API_CenterKick + UserNick);
                Console.WriteLine(DateTime.Now + lg.JW2API_BrowseServerAddress + CommonInfo.serverIP_Query(serverIP) + lg.JW2API_CenterKick + UserNick);
                if (CommonInfo.JW2_KickUser(userSN, "get_userid", userbyid, serverIP, UserName, ref strDesc) == 1)
                {
                    result = CommonInfo.JW2_KickUser(userSN, "del_userid", userbyid, serverIP, UserName, ref strDesc);
                    if (result == 1)
                    {
                        return(Message.COMMON_MES_RESP(strDesc, Msg_Category.JW2_ADMIN, ServiceKey.JW2_Center_Kick_Query_Resp));
                    }
                    else
                    {
                        return(Message.COMMON_MES_RESP(strDesc, Msg_Category.JW2_ADMIN, ServiceKey.JW2_Center_Kick_Query_Resp, TagName.ERROR_Msg, TagFormat.TLV_STRING));

                        //return Message.COMMON_MES_RESP("删除卡在中间件中的用户",Msg_Category.JW2_ADMIN,ServiceKey.JW2_Center_Kick_Query_Resp,TagName.ERROR_Msg,TagFormat.TLV_STRING);
                    }
                }
                else
                {
                    return(Message.COMMON_MES_RESP(lg.JW2API_NoCenterKick, Msg_Category.JW2_ADMIN, ServiceKey.JW2_Center_Kick_Query_Resp, TagName.ERROR_Msg, TagFormat.TLV_STRING));
                }
            }
            catch (System.Exception ex)
            {
                SqlHelper.errLog.WriteLog(lg.JW2API_QueryCenterKick + serverIP + lg.JW2API_PlayerAccount + UserName + "->" + ex.Message);
                return(Message.COMMON_MES_RESP(lg.JW2API_CenterKick + UserNick + lg.JW2API_Failure, Msg_Category.JW2_ADMIN, ServiceKey.JW2_Center_Kick_Query_Resp, TagName.ERROR_Msg, TagFormat.TLV_STRING));
            }
        }