|
|
@@ -54,15 +54,15 @@ static uploadFileManager * cur_uploadFileShareInstance = nil;
|
|
|
|
|
|
//图片 和视频 还原
|
|
|
if(curModel.curUploadFileType == uploadFileTypeImage){
|
|
|
- NSString*pathStr = [cachesFileManager getFilePathWithName:curModel.filename type:uploadFileTypeImage];
|
|
|
- curModel.imageData = [NSData dataWithContentsOfFile:pathStr];
|
|
|
+// NSString*pathStr = [cachesFileManager getFilePathWithName:curModel.filename type:uploadFileTypeImage];
|
|
|
+// curModel.imageData = [NSData dataWithContentsOfFile:pathStr];
|
|
|
}
|
|
|
else if(curModel.curUploadFileType == uploadFileTypeVideo){
|
|
|
- NSString*pathStr = [cachesFileManager getFilePathWithName:curModel.videoFirstImageName type:uploadFileTypeImage];
|
|
|
- curModel.imageData = [NSData dataWithContentsOfFile:pathStr];
|
|
|
+// NSString*pathStr = [cachesFileManager getFilePathWithName:curModel.videoFirstImageName type:uploadFileTypeImage];
|
|
|
+// curModel.imageData = [NSData dataWithContentsOfFile:pathStr];
|
|
|
|
|
|
if(curModel.curUploadStateType != uploadStateDone){
|
|
|
- NSString*videoPathStr = [cachesFileManager getFilePathWithName:curModel.filename type:uploadFileTypeVideo];
|
|
|
+ //NSString*videoPathStr = [cachesFileManager getFilePathWithName:curModel.filename type:uploadFileTypeVideo];
|
|
|
//curModel.videoData = [NSData dataWithContentsOfFile:videoPathStr];
|
|
|
}
|
|
|
}
|
|
|
@@ -93,6 +93,7 @@ static uploadFileManager * cur_uploadFileShareInstance = nil;
|
|
|
{
|
|
|
|
|
|
if(!indexPathsForSelectedItems && indexPathsForSelectedItems.count == 0){
|
|
|
+ complete(nil);
|
|
|
return;
|
|
|
}
|
|
|
|