lyhzzz 1 year ago
parent
commit
17c2568ce0
1 changed files with 1 additions and 1 deletions
  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))));