From 9461237a7ea37a406143162b97d7e2cf5f402b36 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 28 十月 2021 18:38:49 +0800
Subject: [PATCH] 2021-10-28 更新消息列表时间
---
EZSDK/EZSDK/EZ/UIViewControllers/EZSettingViewController.m | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/EZSDK/EZSDK/EZ/UIViewControllers/EZSettingViewController.m b/EZSDK/EZSDK/EZ/UIViewControllers/EZSettingViewController.m
index 8511c5e..2719447 100644
--- a/EZSDK/EZSDK/EZ/UIViewControllers/EZSettingViewController.m
+++ b/EZSDK/EZSDK/EZ/UIViewControllers/EZSettingViewController.m
@@ -377,10 +377,10 @@
// }
// }];
- [EZHttpUtil deleteDeviceByHDL:self.deviceInfo.deviceSerial completion:^(ResponseData *responseData) {
+ [EZHttpUtil.sharedManager deleteDeviceByHDL:self.deviceInfo.deviceSerial completion:^(ResponseData *responseData) {
+ [hud hide:YES];
if(responseData.success)
{
- [hud hide:YES];
NSArray *viewControllers = self.navigationController.viewControllers;
for (UIViewController *vc in viewControllers)
{
@@ -391,6 +391,10 @@
break;
}
}
+ }else{
+ NSString *mes = [NSString stringWithFormat:@"%@(%@)",NSLocalizedString(@"setting_opration_fail", @"鎿嶄綔澶辫触"),responseData.code];
+
+ [self.view makeToast:mes duration:2.0 position:@"center"];
}
}];
--
Gitblit v1.8.0