Explorar el Código

修复球幕视频xml

dsx hace 2 años
padre
commit
8b14847ecc
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/main/java/com/fdkankan/job/job/RepairVideosHandler.java

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

@@ -112,6 +112,9 @@ public class RepairVideosHandler {
                             if (!fYunFileService.fileExist(upPath)) {
                                 continue;
                             }
+                            upName = upPath.substring(upPath.lastIndexOf("/") + 1);
+                            upPath1 = upPath.replace(upName, "").concat("Up.xml");
+                            upPath2 = upPath.replace(upName, "").concat("Up2.xml");
                             found = true;
                             log.info("upPath=" + upPath);
                             log.info("targetUpPath=" + targetUpPath);