|
@@ -82,21 +82,21 @@
|
|
|
|
|
|
|
|
|
//数据缓存
|
|
|
-// NSString *key = stringKeyAddSn(@"getInstalledApk");
|
|
|
-// NSDictionary *DataDict = [HWDataManager getObjectWithKey:key];
|
|
|
-// if(DataDict){
|
|
|
-// _getInstalledAppListMod = [[getInstalledAppListModel alloc] initWithDictionary:DataDict error:nil];
|
|
|
-// if (_getInstalledAppListMod) {
|
|
|
-// _curInstalledAppListMod = _getInstalledAppListMod;
|
|
|
-// }
|
|
|
-// }
|
|
|
-//
|
|
|
-// //数据缓存
|
|
|
-// NSString *keyUninstall = stringKeyAddSn(@"getUninstallApk");
|
|
|
-// NSDictionary *DataDictUninstall = [HWDataManager getObjectWithKey:keyUninstall];
|
|
|
-// if(DataDictUninstall){
|
|
|
-// _getUninstalledAppListMod = [[getInstalledAppListModel alloc] initWithDictionary:DataDictUninstall error:nil];
|
|
|
-// }
|
|
|
+ NSString *key = stringKeyAddSn(@"getInstalledApk");
|
|
|
+ NSDictionary *DataDict = [HWDataManager getObjectWithKey:key];
|
|
|
+ if(DataDict){
|
|
|
+ _getInstalledAppListMod = [[getInstalledAppListModel alloc] initWithDictionary:DataDict error:nil];
|
|
|
+ if (_getInstalledAppListMod) {
|
|
|
+ _curInstalledAppListMod = _getInstalledAppListMod;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ //数据缓存
|
|
|
+ NSString *keyUninstall = stringKeyAddSn(@"getUninstallApk");
|
|
|
+ NSDictionary *DataDictUninstall = [HWDataManager getObjectWithKey:keyUninstall];
|
|
|
+ if(DataDictUninstall){
|
|
|
+ _getUninstalledAppListMod = [[getInstalledAppListModel alloc] initWithDictionary:DataDictUninstall error:nil];
|
|
|
+ }
|
|
|
|
|
|
|
|
|
[self drawAnyView];
|
|
@@ -1072,7 +1072,7 @@
|
|
|
[self showNewIndicatorHaveStrWithCanBack:YES canTouch:NO showText:NSLocalizedString(@"common_loading_tip",nil)];
|
|
|
|
|
|
KWeakSelf
|
|
|
- [[netWorkManager shareInstance] cloudPhoneGETCallBackCode:@"getInstalledApk" Parameters:paraDict success:^(id _Nonnull responseObject) {
|
|
|
+ [[netWorkManager shareInstance] cloudPhoneGETCallBackCode:@"getInstalledApkNew" Parameters:paraDict success:^(id _Nonnull responseObject) {
|
|
|
//[weakSelf.tableView.mj_footer endRefreshing];
|
|
|
[weakSelf removeNewIndicatorHaveStr];
|
|
|
getInstalledAppListModel *curModel = [[getInstalledAppListModel alloc] initWithDictionary:responseObject error:nil];
|