{
"msg_type": 3,
"holder": {
"requirement": [
{
"hehe": "1",
"heihei": "2"
}
],
"alert": ""
}
推送的消息内容如上
在ios收到的数据
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler
userInfo是收到的数据, 其中 requirement.hehe heihei 两个键 变成了 :hehei :heihei , 多了个冒号
在控制台的消息记录中, 数据格式是正常的 没有 冒号
-
创建时间
16年6月20日
-
最后回复
16年7月15日
-
2
回复
-
1.1K
浏览
-
2
用户