Commit 5927ccea authored by 艾娇平's avatar 艾娇平

update

parent bf33088a
...@@ -167,7 +167,12 @@ ...@@ -167,7 +167,12 @@
[self layoutIfNeeded]; [self layoutIfNeeded];
} }
-(void)globalDataLoaded:(NSDictionary *)data { - (void)globalDataLoaded:(NSString *)jsonString {
if (![jsonString isNonEmpty]) {
return;
}
NSDictionary *data = [NSDictionary dictionaryWithJsonString:jsonString];
int consultation_type = [data[@"consultation_type"] intValue]; int consultation_type = [data[@"consultation_type"] intValue];
int counsellor_type = [data[@"counsellor_type"] intValue]; int counsellor_type = [data[@"counsellor_type"] intValue];
NSDictionary *dict = @{@"page_name":[GMBaseTool getCurrentViewController].pageName, NSDictionary *dict = @{@"page_name":[GMBaseTool getCurrentViewController].pageName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment