提示修改
This commit is contained in:
@@ -173,8 +173,10 @@ Copy NSString *deviceId;
|
||||
msg=@"绑定失败";
|
||||
}
|
||||
|
||||
[self.view makeToast:msg];
|
||||
[self.navigationController popViewControllerAnimated:YES];
|
||||
self.HUD.labelText = msg;
|
||||
[self.progressView endProgressWithString:msg];
|
||||
[self.HUD hide:YES afterDelay:2];
|
||||
|
||||
|
||||
}else if ([resultDic[@"result"] isEqualToString:@"301"]){
|
||||
[self appendTrakContent:@"绑定返回状态码错误。设备信息为:%@"];
|
||||
@@ -343,7 +345,7 @@ Copy NSString *deviceId;
|
||||
[self.storeNameView removeFromSuperview];
|
||||
[self.mask removeFromSuperview];
|
||||
[self.progressView endProgressWithString:@"绑定已经取消..."];
|
||||
[self.navigationController popViewControllerAnimated:YES];
|
||||
|
||||
}
|
||||
-(void)showStoreNameView
|
||||
{
|
||||
@@ -443,7 +445,7 @@ Copy NSString *deviceId;
|
||||
|
||||
}else if ([resultDic[@"result"] isEqualToString:@"101"]){
|
||||
[self appendTrakContent:@"绑定返回状态码错误。设备信息为:%@"];
|
||||
self.HUD.labelText = @"绑定失败";
|
||||
|
||||
self.bakbutton.userInteractionEnabled=YES;
|
||||
NSString*msg= resultDic[@"data"];
|
||||
|
||||
@@ -456,10 +458,10 @@ Copy NSString *deviceId;
|
||||
msg=@"绑定失败";
|
||||
}
|
||||
|
||||
[self.view makeToast:msg];
|
||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
[self.navigationController popViewControllerAnimated:YES];
|
||||
});
|
||||
self.HUD.labelText = msg;
|
||||
[self.progressView endProgressWithString:msg];
|
||||
[self.HUD hide:YES afterDelay:2];
|
||||
|
||||
|
||||
}else if ([resultDic[@"result"] isEqualToString:@"301"]){
|
||||
[self appendTrakContent:@"绑定返回状态码错误。设备信息为:%@"];
|
||||
|
||||
Reference in New Issue
Block a user