PPNetworkHelper
PPNetworkHelper copied to clipboard
建议将请求结果的log 转json 进行输出,格式比较清晰,在加上输出请求的url和参数比较好
NSData * data = [NSJSONSerialization dataWithJSONObject:responseObject options:NSJSONWritingPrettyPrinted error:nil]; NSString *jcString = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding]; JCLog(@"=============请求结果:\n%@",jcString);