//读取账户信息
// AcountModel *acount = [AcountTool acount];
//
//
// //请求接口
//
// AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
//
//
// NSMutableDictionary *parameters = [NSMutableDictionary dictionaryWithObjectsAndKeys:acount.access_token,@"access_token",self.textView.text,@"status", nil];
//
//
//
// [manager POST:@"https://upload.api.weibo.com/2/statuses/upload.json" parameters:parameters constructingBodyWithBlock:^(id<AFMultipartFormData> formData) {
//
// NSData *data = UIImageJPEGRepresentation(self.imgView.image, 1.0);
//
// [formData appendPartWithFileData:data name:@"picw" fileName:@"" mimeType:@"image/jpeg"];
//
//// NSData *data = UIImagePNGRepresentation(self.imgView.image);
//// [formData appendPartWithFileData:data name:@"files" fileName:@"jinlingpopona.png" mimeType:@"image/png"];
//// NSLog(@"%@",data);
//
// } success:^(AFHTTPRequestOperation *operation, id responseObject) {
// if ([_delegate respondsToSelector:@selector(didClickSendBtnWithViewController:)]) {
// [_delegate didClickSendBtnWithViewController:self];
// }
// NSLog(@"%@",responseObject);
// [MBProgressHUD showSuccess:@"发送成功"];
//
//
// } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
// [MBProgressHUD showError:@"发送失败"];
// NSLog(@"***********%@",error);
//
// }];