|
@@ -895,8 +895,8 @@ export default {
|
|
|
Date.now() +
|
|
Date.now() +
|
|
|
"_" +
|
|
"_" +
|
|
|
Math.random().toString(16).substring(2, 8),
|
|
Math.random().toString(16).substring(2, 8),
|
|
|
- username: "admin",
|
|
|
|
|
- password: "public",
|
|
|
|
|
|
|
+ username: "lnradar",
|
|
|
|
|
+ password: "lnradar",
|
|
|
// 微信小程序特定配置
|
|
// 微信小程序特定配置
|
|
|
wsOptions: {
|
|
wsOptions: {
|
|
|
WebSocket: function (url) {
|
|
WebSocket: function (url) {
|
|
@@ -917,13 +917,13 @@ export default {
|
|
|
if (!selectedService || selectedService == "aloneServe") {
|
|
if (!selectedService || selectedService == "aloneServe") {
|
|
|
if (__wxConfig.envVersion == "develop") {
|
|
if (__wxConfig.envVersion == "develop") {
|
|
|
clientTwo = mqtt.connect(
|
|
clientTwo = mqtt.connect(
|
|
|
- "wxs://data.radar-power.cn/mqtt",
|
|
|
|
|
|
|
+ "wxs://data.radar-power.cn/mqtt/",
|
|
|
params
|
|
params
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
if (__wxConfig.envVersion == "trial") {
|
|
if (__wxConfig.envVersion == "trial") {
|
|
|
clientTwo = mqtt.connect(
|
|
clientTwo = mqtt.connect(
|
|
|
- "wxs://data.radar-power.cn/mqtt",
|
|
|
|
|
|
|
+ "wxs://data.radar-power.cn/mqtt/",
|
|
|
params
|
|
params
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|