Compare commits
2 Commits
0af3befdd8
...
90aaa2a94c
| Author | SHA256 | Date | |
|---|---|---|---|
| 90aaa2a94c | |||
| 9a01252c0b |
@ -405,7 +405,7 @@ public class MqttClientFactory {
|
||||
// 基于配置前缀 + 时间戳 + 随机数
|
||||
String baseClientId = MqttConfig.getClientId();
|
||||
if (baseClientId == null || baseClientId.trim().isEmpty()) {
|
||||
baseClientId = "java-client";
|
||||
baseClientId = "ebike-client";
|
||||
}
|
||||
|
||||
// 移除可能存在的非法字符,只保留字母数字和连字符
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user