|
|
@@ -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);
|
|
|
}
|
|
|
|