public override string OnResponse(string data)
        {
            BindExtendCode bindExtendCode = null;

            try
            {
                bindExtendCode = JsonConvert.DeserializeObject <BindExtendCode>(data);
            }
            catch (Exception e)
            {
                MySqlService.log.Warn("传入的参数有误:" + e);
                return(null);
            }

            string _tag    = bindExtendCode.tag;
            int    _connId = bindExtendCode.connId;
            string uid     = bindExtendCode.uid;

            if (string.IsNullOrWhiteSpace(_tag) || string.IsNullOrWhiteSpace(uid))
            {
                MySqlService.log.Warn("字段有空:" + data);
                return(null);
            }
            //传给客户端的数据
            JObject _responseData = new JObject();

            _responseData.Add(MyCommon.TAG, _tag);
            _responseData.Add(MyCommon.CONNID, _connId);

            GetExtendData(uid, _responseData);

            return(_responseData.ToString());
        }
        public override string OnResponse(string data)
        {
            BindExtendCode bindExtendCode = null;

            try
            {
                bindExtendCode = JsonConvert.DeserializeObject <BindExtendCode>(data);
            }
            catch (Exception e)
            {
                MySqlService.log.Warn("传入的参数有误:" + e);
                return(null);
            }

            string _tag    = bindExtendCode.tag;
            int    _connId = bindExtendCode.connId;
            string uid     = bindExtendCode.uid;

            if (string.IsNullOrWhiteSpace(_tag) || string.IsNullOrWhiteSpace(uid))
            {
                MySqlService.log.Warn("字段有空:" + data);
                return(null);
            }
            //传给客户端的数据
            JObject _responseData = new JObject();

            _responseData.Add(MyCommon.TAG, _tag);
            _responseData.Add(MyCommon.CONNID, _connId);

            List <UserExchange> listByUid = MySqlManager <UserExchange> .Instance.GetListByUid(uid).OrderByDescending(s => s.create_time).ToList();

            foreach (var user in listByUid)
            {
                user.time = user.create_time.ToString("yyyy年MM月dd日");
            }
            _responseData.Add("medalDuiHuanRecordDataList", JsonConvert.SerializeObject(listByUid));

            return(_responseData.ToString());
        }