|
@@ -427,7 +427,9 @@ export default {
|
|
|
clean: true,
|
|
|
connectTimeout: 30 * 1000,
|
|
|
clientId:
|
|
|
- "wx_mqtt_" + Math.random().toString(16).substring(2, 8),
|
|
|
+ "xcx_mqtt_cmd1" +
|
|
|
+ uni.getStorageSync("userId") +
|
|
|
+ Math.random().toString(16).substring(2, 8),
|
|
|
username: "admin",
|
|
|
password: "public",
|
|
|
// 微信小程序特定配置
|