TRX il y a 1 an
Parent
commit
e815d2968e

+ 6 - 1
OneCardIotServer/src/main/java/com/zhongshu/iot/server/core/service/mqtt/GateWayInfoService.java

@@ -128,9 +128,14 @@ public class GateWayInfoService extends SuperService {
 
         // 给网关分配个mqtt账号
         MqttInfoReturnModel mqttInfoSimpleModel = new MqttInfoReturnModel();
-        mqttInfoSimpleModel.setBrokerAddress("tcp://8.137.120.225/:61616");
+//        mqttInfoSimpleModel.setBrokerAddress("tcp://8.137.120.225:61616");
+//        mqttInfoSimpleModel.setBrokerUsername("admin");
+//        mqttInfoSimpleModel.setBrokerPassword("admin123");
+
+        mqttInfoSimpleModel.setBrokerAddress("wss://mq.dev.zswllife.cn:443");
         mqttInfoSimpleModel.setBrokerUsername("admin");
         mqttInfoSimpleModel.setBrokerPassword("admin123");
+
         return ResultContent.buildSuccess(mqttInfoSimpleModel);
     }