/// <summary>
        ///
        /// </summary>
        /// <param name="conn"></param>
        /// <param name="protocoBase"></param>
        public void Register(TCP conn, ProtocolBase protocoBase)
        {
            ProtocolBytes protoco = (ProtocolBytes)protocoBase;

            object[] vs        = protoco.GetDecode();
            string   protoName = vs[0].ToString();
            string   strFromat = "[收到注册协议]" + conn.GetAddress();

            protoco = new ProtocolBytes();
            protoco.SetProtocol(Fursion_Protocol.Register);
            UserData UD       = JsonConvert.DeserializeObject <UserData>(vs[1].ToString());
            string   Openid   = UD.Openid;
            string   NickName = UD.NickNeam;

            Console.WriteLine(strFromat + "   " + Openid + "   " + NickName);
            var reg = DataMgr.instance.Register(Openid, NickName, UD);

            if (reg)                //
            {
                protoco.AddData(0); //
            }
            else
            {
                protoco.AddData(1);
                conn.Send(protoco);
                return;
            }
            conn.Send(protoco);
            Console.WriteLine("**&&**&&**");
        }