|
@@ -143,10 +143,12 @@ public class RepairVideosHandler {
|
|
|
log.info("upPath2:{}", upPath2);
|
|
|
log.info("targetUpPath1:{}", targetUpPath1);
|
|
|
log.info("targetUpPath2:{}", targetUpPath2);
|
|
|
- fYunFileService.copyFileBetweenBucket(bucket, upPath1, bucket, targetUpPath1);
|
|
|
- fYunFileService.copyFileBetweenBucket(bucket, upPath2, bucket, targetUpPath2);
|
|
|
-// fYunFileService.uploadFile(fYunFileService.getFileContent(upPath1).getBytes(), targetUpPath1);
|
|
|
-// fYunFileService.uploadFile(fYunFileService.getFileContent(upPath2).getBytes(), targetUpPath2);
|
|
|
+ fYunFileService.downloadFile(upPath1, String.format(ConstantFilePath.DATABUFFER_FORMAT, scenePro.getNum()).concat("Up.xml"));
|
|
|
+ fYunFileService.downloadFile(upPath2, String.format(ConstantFilePath.DATABUFFER_FORMAT, scenePro.getNum()).concat("Up2.xml"));
|
|
|
+ fYunFileService.uploadFile(String.format(ConstantFilePath.DATABUFFER_FORMAT, scenePro.getNum()).concat("Up.xml"), targetUpPath1);
|
|
|
+ fYunFileService.uploadFile(String.format(ConstantFilePath.DATABUFFER_FORMAT, scenePro.getNum()).concat("Up2.xml"), targetUpPath2);
|
|
|
+ fYunFileService.uploadFile(fYunFileService.getFileContent(upPath1).getBytes(), targetUpPath1);
|
|
|
+ fYunFileService.uploadFile(fYunFileService.getFileContent(upPath2).getBytes(), targetUpPath2);
|
|
|
log.info("场景:{}在场景{}中找到,路径为:{}", pro.getNum(), scenePro.getNum(), upPath);
|
|
|
break;
|
|
|
}
|