AFNetWorking 返回服务器错误的状态码
NSHTTPURLResponse *response = (NSHTTPURLResponse*)task.response; //通讯协议状态码 NSInteger statusCode = response.statusCode; NSLog(@"%@",[NSString stringWithFormat:@"%ld",statusCode]);
NSHTTPURLResponse *response = (NSHTTPURLResponse*)task.response; //通讯协议状态码 NSInteger statusCode = response.statusCode; NSLog(@"%@",[NSString stringWithFormat:@"%ld",statusCode]);