lyhzzz 1 年之前
父节点
当前提交
17c2568ce0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/fusion/service/impl/ThreadService.java

+ 1 - 1
src/main/java/com/fdkankan/fusion/service/impl/ThreadService.java

@@ -124,7 +124,7 @@ public class ThreadService {
                 }
                 redisUtil.set(RedisKeyUtil.modelUpload+model.getModelId(),"80");
 
-                String replace = b3dmJsonPath.replace(FilePath.MNT_BASE_PATH, "fusion/test");
+                String replace = b3dmJsonPath.replace(FilePath.MNT_BASE_PATH, "fusion/"+environment+"/");
                 File file2 = new File(replace);
                 ShellUtil.yunUpload(localPath,file2.getParent());
                 model.setModelGlbUrl((JSONArray.toJSONString(Arrays.asList(queryPath +  replace))));