int index = 0;
for (NSDictionary* dic in self.contactArrM) {
for (NSString* key in [dic allKeys]) {
params[[NSString stringWithFormat:@"related_contacts[%d][%@]", index, key]] = [dic valueForKey:key];
}
index++;
}
如果上传字典数组到服务器,服务器显示的格式不是字典数组
最新推荐文章于 2018-04-28 18:42:12 发布