dengsixing 5 mesiacov pred
rodič
commit
de7788cee9

+ 4 - 4
src/main/java/com/fdkankan/scene/service/impl/SceneProServiceImpl.java

@@ -185,7 +185,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
             uploadMap.put(origFilePath, ossPath + sid + "." + extName);
 
             //切图
-            String fragmentCmd = "vips dzsave --tile-size 511" + origFilePath + " " +  workPath;
+            String fragmentCmd = "vips dzsave --tile-size 511 " + origFilePath + " " +  workPath;
             CmdUtils.callLine(fragmentCmd);
             if(!ComputerUtil.checkComputeCompleted(dziPath, 5, 200)){
                 throw new BusinessException(ErrorCode.FAILURE_CODE_5052);
@@ -221,9 +221,9 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
             });
 
         }finally {
-            FileUtil.del(workPath);
-            FileUtil.del(dziPath);
-            FileUtil.del(outFilesPath);
+//            FileUtil.del(workPath);
+//            FileUtil.del(dziPath);
+//            FileUtil.del(outFilesPath);
         }
 
         Map<String, Integer> hw = new HashMap<>();