public QfClientConnector(QfClientInfo clientInfo = null)
        {
            _clientInfo = clientInfo;
            var serverUrl = ConfigurationManager.AppSettings["ServerUrl"];

            _service.Url = _service.Url.Replace("http://localhost:8069", serverUrl);
            InitToken();
        }
 /// <summary>
 /// 更新客户端信息
 /// </summary>
 /// <param name="clientInfo">客户端信息</param>
 public void UpdateClientInfo(QfClientInfo clientInfo = null)
 {
     if (clientInfo != null)
     {
         _service.UpdateClientInfo(Serializer.Serialize(clientInfo), GetToken(false));
     }
     else if (_clientInfo != null)
     {
         _service.UpdateClientInfo(Serializer.Serialize(_clientInfo), GetToken(false));
     }
 }