去掉missav
This commit is contained in:
@@ -78,18 +78,18 @@
|
||||
config.linkUrl = appDelegate.mainURLString;
|
||||
[menuArray addObject:config];
|
||||
// 菜单
|
||||
if (!ISNULLSTR(appDelegate.data.linkConfig)) {
|
||||
NSError *jsonError;
|
||||
id linkConfigResponse = [NSJSONSerialization JSONObjectWithData:[appDelegate.data.linkConfig dataUsingEncoding:NSUTF8StringEncoding] options:NSJSONReadingMutableContainers error:&jsonError];
|
||||
if (jsonError==nil && [linkConfigResponse isKindOfClass:[NSArray class]]) {
|
||||
NSArray *linkConfigArray = linkConfigResponse;
|
||||
height = height + linkConfigArray.count*70;
|
||||
for (NSDictionary *dic in linkConfigArray) {
|
||||
LinkConfig *linkModel = [LinkConfig modelWithDictionary:dic];
|
||||
[menuArray addObject:linkModel];
|
||||
}
|
||||
}
|
||||
}
|
||||
// if (!ISNULLSTR(appDelegate.data.linkConfig)) {
|
||||
// NSError *jsonError;
|
||||
// id linkConfigResponse = [NSJSONSerialization JSONObjectWithData:[appDelegate.data.linkConfig dataUsingEncoding:NSUTF8StringEncoding] options:NSJSONReadingMutableContainers error:&jsonError];
|
||||
// if (jsonError==nil && [linkConfigResponse isKindOfClass:[NSArray class]]) {
|
||||
// NSArray *linkConfigArray = linkConfigResponse;
|
||||
// height = height + linkConfigArray.count*70;
|
||||
// for (NSDictionary *dic in linkConfigArray) {
|
||||
// LinkConfig *linkModel = [LinkConfig modelWithDictionary:dic];
|
||||
// [menuArray addObject:linkModel];
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// 客服平台
|
||||
if (!ISNULLSTR(appDelegate.data.fbUrl)) {
|
||||
height = height + 70;
|
||||
|
||||
Reference in New Issue
Block a user