Преглед изворни кода

3dtiles上传模型 命令多了个斜杠

dsx пре 2 година
родитељ
комит
2623b7e629

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

@@ -816,7 +816,7 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
         });
 
         //调用算法
-        String command = "bash //home/ubuntu/bin/Obj2Tiles.sh " + path;
+        String command = "bash /home/ubuntu/bin/Obj2Tiles.sh " + path;
         log.info("上传3dtiles模型开始, num:{}, targetPath:{}", num, path);
         RuntimeUtil.exec(command);
         log.info("上传3dtiles模型结束, num:{}, targetPath:{}", num, path);