宠物笼绑定界面修改,不同类型弹框
This commit is contained in:
@@ -472,7 +472,18 @@ extern BOOL formLogIn;//连接页面是否来自登录界面
|
||||
|
||||
|
||||
}else if ([resultDic[@"result"] isEqualToString:@"101"]){
|
||||
[self showTitle:@"" messsage:@"绑定失败"];
|
||||
NSString*msg= resultDic[@"data"];
|
||||
|
||||
if ([msg isKindOfClass:[NSString class]]&&msg.length&&![msg isEqualToString:@"null"])
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
msg=@"绑定失败";
|
||||
}
|
||||
|
||||
[self.view makeToast:msg];
|
||||
self.bakbutton.userInteractionEnabled=YES;
|
||||
}else if ([resultDic[@"result"] isEqualToString:@"301"]){
|
||||
[self showTitle:@"" messsage:@"请求验证失败,请重新登录"];
|
||||
|
||||
Reference in New Issue
Block a user