Explorar el Código

MQTT 信令连接 修改

DGJ hace 1 año
padre
commit
1dc5db4b83
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Assets/Scripts/MQTT/MQTTClient.cs

+ 1 - 1
Assets/Scripts/MQTT/MQTTClient.cs

@@ -117,7 +117,7 @@ public class MQTTClient : MonoSingleton<MQTTClient>
       //  Debug.Log("DGJ ==>MQTT " + id + account + "  " + username + "   " + certification + "  " + HttpActionLang.Instance.mqttSocket);
 
         DisConnect();
-        qt = new QTTManager(MQTTManager.Instance.id + MQTTManager.Instance.account, MQTTManager.Instance.username , MQTTManager.certification, HttpActionLang.Instance.mqttSocket, "1883");
+        qt = new QTTManager(MQTTManager.Instance.id, MQTTManager.Instance.username , MQTTManager.certification, HttpActionLang.Instance.mqttSocket, "1883");
         qt.Connect();
         StartCoroutine(Reconnection());
         qt.ConnectionFailed += onFaild;