This commit is contained in:
2025-12-30 23:13:38 +08:00
parent c79d438681
commit bfcac8ab2c
40 changed files with 236 additions and 52 deletions

View File

@@ -32,6 +32,10 @@
}
#pragma mark -
- (void)bindWithUserName:(NSString *)username password:(NSString *)password cliendId:(NSString *)cliendId isSSL:(BOOL)isSSL{
NSString *server = AddressOfMQTTServer;
if (QXGlobal.shareGlobal.isNeedChangeServer) {
server = RAddressOfMQTTServer;
}
self.username = username;
self.password = password;
self.cliendId = cliendId;