报 Error Domain=com.alamofire.error.serialization.response Code=-1011
解决方案自己提取错误信息解析
NSData *errorData = error.userInfo[AFNetworkingOperationFailingURLResponseDataErrorKey];
NSDictionary *serializedData = [NSJSONSerialization JSONObjectWithData: errorData options:kNilOptions error:nil];
网友评论