比如我的代码:AFHTTPRequestOperationManager*AFmanager=[AFHTTPRequestOperationManagermanager];NSMutableDictionary*postDic=[self.userModelapiUserInfoDic];[postDicsetValue:[NSStringJSONStringWithNSDictionary:self.orderModel.cartCids]forKey:@"cids"];NSLog(@"%@",postDic);NSDictionary*argsDic=[CoreapiArgsFormat:postDic];[AFmanagerPOST:[NSStringstringWithFormat:@"%@/order/cart/preview",API_ROOT_URL]parameters:argsDicsuccess:^(AFHTTPRequestOperation*operation,idresponseObject){}failure:^(AFHTTPRequestOperation*operation,NSError*error){}];postDic的数据结构如下;2015-09-1419:38:48.324[21743:4090197]{cids="[\n\"33\",\n\"34\",\n\"36\",\n\"35\"\n]";machineId="FAA19978-47B5-4086-8EF5-CFAA92FD59B4";platform=iOS;uid=2;}我的本意是想让cids发送一个数组结构给后台,但是这样没法送到,不知道如何写呢?
ABOUTYOU
守候你守候我
相关分类