Browse Source

修复老旧球幕视频文件路径

dsx 2 năm trước cách đây
mục cha
commit
f4ee8f25c3

+ 3 - 1
src/main/java/com/fdkankan/job/job/RepairVideosHandler.java

@@ -78,8 +78,10 @@ public class RepairVideosHandler {
             boolean exist = fYunFileService.fileExist(upPath);
             XxlJobHelper.log("原始资源是否存在:{}", exist);
             if(exist){
-                log.info("场景:{}在原始资源中找到");
+                log.info("场景:{}在原始资源中找到", pro.getNum());
                 found = true;
+                log.info("upPath=" + upPath);
+                log.info("targetUpPath=" + targetUpPath);
                 fYunFileService.copyFileBetweenBucket(fYunFileConfig.getBucket(), upPath, fYunFileConfig.getBucket(), targetUpPath);
             }else{
                 //如果home已被删除,则找相同相机下的场景,有则取回