|
@@ -912,14 +912,22 @@ export default {
|
|
let selectedService = uni.getStorageSync("sercviceChoice");
|
|
let selectedService = uni.getStorageSync("sercviceChoice");
|
|
if (!selectedService || selectedService == "aloneServe") {
|
|
if (!selectedService || selectedService == "aloneServe") {
|
|
if (__wxConfig.envVersion == "develop") {
|
|
if (__wxConfig.envVersion == "develop") {
|
|
|
|
+ // clientTwo = mqtt.connect(
|
|
|
|
+ // "wxs://data.radar-power.com:8084/mqtt",
|
|
|
|
+ // params
|
|
|
|
+ // );
|
|
clientTwo = mqtt.connect(
|
|
clientTwo = mqtt.connect(
|
|
- "wxs://data.radar-power.com:8084/mqtt",
|
|
|
|
|
|
+ "wxs://radar-power.cn:8084/mqtt",
|
|
params
|
|
params
|
|
);
|
|
);
|
|
}
|
|
}
|
|
if (__wxConfig.envVersion == "trial") {
|
|
if (__wxConfig.envVersion == "trial") {
|
|
|
|
+ // clientTwo = mqtt.connect(
|
|
|
|
+ // "wxs://data.radar-power.com:8084/mqtt",
|
|
|
|
+ // params
|
|
|
|
+ // );
|
|
clientTwo = mqtt.connect(
|
|
clientTwo = mqtt.connect(
|
|
- "wxs://data.radar-power.com:8084/mqtt",
|
|
|
|
|
|
+ "wxs://radar-power.cn:8084/mqtt",
|
|
params
|
|
params
|
|
);
|
|
);
|
|
}
|
|
}
|