客户端重命名
This commit is contained in:
parent
e70df6f7f7
commit
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