Compare commits

..

No commits in common. "90aaa2a94c5741d0a66a5eaaf33a54432643982890cdcf5e826ff7ec7c7c6b39" and "0af3befdd8258fc52242d291acbf5adda9e70e5faaee38d116feda556dd671cf" have entirely different histories.

View File

@ -405,7 +405,7 @@ public class MqttClientFactory {
// 基于配置前缀 + 时间戳 + 随机数 // 基于配置前缀 + 时间戳 + 随机数
String baseClientId = MqttConfig.getClientId(); String baseClientId = MqttConfig.getClientId();
if (baseClientId == null || baseClientId.trim().isEmpty()) { if (baseClientId == null || baseClientId.trim().isEmpty()) {
baseClientId = "ebike-client"; baseClientId = "java-client";
} }
// 移除可能存在的非法字符只保留字母数字和连字符 // 移除可能存在的非法字符只保留字母数字和连字符