Compare commits

...

2 Commits

Author SHA256 Message Date
90aaa2a94c Merge remote-tracking branch 'origin/main' 2026-01-04 14:14:07 +08:00
9a01252c0b 客户端重命名 2026-01-04 14:13:47 +08:00

View File

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