Commit d9213b62 authored by fengchao's avatar fengchao
Browse files

fix(code):修复报送 extra无数据的问题。

parent 83feed21
...@@ -234,8 +234,9 @@ extern "C" { ...@@ -234,8 +234,9 @@ extern "C" {
[keyValuePairs addObject:[NSString stringWithFormat:@"%@:%@", key, value]]; [keyValuePairs addObject:[NSString stringWithFormat:@"%@:%@", key, value]];
}]; }];
playerInfo.extra = [keyValuePairs componentsJoinedByString:@";"]; playerInfo.extra = [keyValuePairs componentsJoinedByString:@";"];
}else if ([extraObj isKindOfClass:[NSString class]]) {
playerInfo.extra = (NSString *)extraObj;
} }
[sdk report:(EventType)eventType data:playerInfo]; [sdk report:(EventType)eventType data:playerInfo];
} }
......
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