不匹配设备提示修改
This commit is contained in:
@@ -162,6 +162,19 @@ Copy NSString *deviceId;
|
||||
[self appendTrakContent:@"绑定返回状态码错误。设备信息为:%@"];
|
||||
self.HUD.labelText = @"绑定失败";
|
||||
self.bakbutton.userInteractionEnabled=YES;
|
||||
NSString*msg= resultDic[@"data"];
|
||||
|
||||
if ([msg isKindOfClass:[NSString class]]&&msg.length&&![msg isEqualToString:@"null"])
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
msg=@"绑定失败";
|
||||
}
|
||||
|
||||
[self.view makeToast:msg];
|
||||
[self.navigationController popViewControllerAnimated:YES];
|
||||
|
||||
}else if ([resultDic[@"result"] isEqualToString:@"301"]){
|
||||
[self appendTrakContent:@"绑定返回状态码错误。设备信息为:%@"];
|
||||
@@ -444,6 +457,7 @@ Copy NSString *deviceId;
|
||||
}
|
||||
|
||||
[self.view makeToast:msg];
|
||||
[self.navigationController popViewControllerAnimated:YES];
|
||||
|
||||
}else if ([resultDic[@"result"] isEqualToString:@"301"]){
|
||||
[self appendTrakContent:@"绑定返回状态码错误。设备信息为:%@"];
|
||||
|
||||
Reference in New Issue
Block a user