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");