|
@@ -76,13 +76,10 @@ static connectDeviceManager *connectDeviceManagerInstance = nil;
|
|
|
|
|
|
DeviceThirdIdModel *model = [[DeviceThirdIdModel alloc] initWithDictionary:responseObject error:nil];
|
|
|
|
|
|
- if(model && model.data){
|
|
|
- weakSelf.DeviceThirdIdMod = model;
|
|
|
- }
|
|
|
-
|
|
|
- if(weakSelf.DeviceThirdIdMod.status == 0
|
|
|
- && weakSelf.DeviceThirdIdMod.data)
|
|
|
+ if(model.status == 0
|
|
|
+ && model.data)
|
|
|
{
|
|
|
+ weakSelf.DeviceThirdIdMod = model;
|
|
|
|
|
|
NSString*desPwdstr = [RSATool AES128Decrypt:weakSelf.DeviceThirdIdMod.data.password key:AESCODEKEEYY];
|
|
|
|