去掉missav

This commit is contained in:
2025-06-17 14:40:10 +08:00
parent 32258f688e
commit 0c5d714418

View File

@@ -78,18 +78,18 @@
config.linkUrl = appDelegate.mainURLString; config.linkUrl = appDelegate.mainURLString;
[menuArray addObject:config]; [menuArray addObject:config];
// //
if (!ISNULLSTR(appDelegate.data.linkConfig)) { // if (!ISNULLSTR(appDelegate.data.linkConfig)) {
NSError *jsonError; // NSError *jsonError;
id linkConfigResponse = [NSJSONSerialization JSONObjectWithData:[appDelegate.data.linkConfig dataUsingEncoding:NSUTF8StringEncoding] options:NSJSONReadingMutableContainers error:&jsonError]; // id linkConfigResponse = [NSJSONSerialization JSONObjectWithData:[appDelegate.data.linkConfig dataUsingEncoding:NSUTF8StringEncoding] options:NSJSONReadingMutableContainers error:&jsonError];
if (jsonError==nil && [linkConfigResponse isKindOfClass:[NSArray class]]) { // if (jsonError==nil && [linkConfigResponse isKindOfClass:[NSArray class]]) {
NSArray *linkConfigArray = linkConfigResponse; // NSArray *linkConfigArray = linkConfigResponse;
height = height + linkConfigArray.count*70; // height = height + linkConfigArray.count*70;
for (NSDictionary *dic in linkConfigArray) { // for (NSDictionary *dic in linkConfigArray) {
LinkConfig *linkModel = [LinkConfig modelWithDictionary:dic]; // LinkConfig *linkModel = [LinkConfig modelWithDictionary:dic];
[menuArray addObject:linkModel]; // [menuArray addObject:linkModel];
} // }
} // }
} // }
// //
if (!ISNULLSTR(appDelegate.data.fbUrl)) { if (!ISNULLSTR(appDelegate.data.fbUrl)) {
height = height + 70; height = height + 70;