xiewenjie 3 年之前
父節點
當前提交
1158966272
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      sxz-core/src/main/java/com/fdkk/sxz/other/listener/RunBuild.java

+ 4 - 4
sxz-core/src/main/java/com/fdkk/sxz/other/listener/RunBuild.java

@@ -161,8 +161,8 @@ public class RunBuild {
                         checkFlag = checkMviewFile(path, fileId, type);
                         if (checkFlag) {
                             //obj转换成glb格式
-                            String glbPath = path.replace(".obj", ".glb");
-                            String objPath = path.replace(".obj", ".glb");
+                            String objPath = path.replace(".fdage", ".obj");
+                            String glbPath = path.replace(".fdage", ".glb");
                             RunBuild.log.info("obj转换成glb格式路径-{}", glbPath);
                             CreateObjUtil.objToGlb(objPath, glbPath);
                             uploadToOssUtil.uploadTo4dTjw(glbPath, "domain/eHome/furniture/models/" + fileId + ".glb");
@@ -183,8 +183,8 @@ public class RunBuild {
                         if (checkFlag) {
                             //obj转换成glb格式
                             RunBuild.log.info("配件obj转换成glb格式");
-                            String glbPath = path.replace(".obj", ".glb");
-                            String objPath = path.replace(".obj", ".glb");
+                            String objPath = path.replace(".fdage", ".obj");
+                            String glbPath = path.replace(".fdage", ".glb");
                             RunBuild.log.info("obj转换成glb格式路径-{}", glbPath);
                             CreateObjUtil.objToGlb(objPath, glbPath);
                             uploadToOssUtil.uploadTo4dTjw(glbPath, "domain/eHome/furniture/models/" + fileId + ".glb");