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