lyhzzz 1 year ago
parent
commit
0fdefcedae
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

@@ -145,7 +145,7 @@ public class ThreadService {
                 ShellUtil.yunUpload(objPathFile.getPath(),objPathFile.getPath().replace(FilePath.LOCAL_BASE_PATH,"fusion/"));
                 model.setModelGlbUrl((JSONArray.toJSONString(Arrays.asList(queryPath +  objPathFile.getPath().replace(FilePath.LOCAL_BASE_PATH,"fusion/") ))));
             }
-            model.setFileNewName(queryPath + objPathFile.getPath().replace(FilePath.LOCAL_BASE_PATH,"fusion/")  + fileName);
+            model.setFileNewName(queryPath + objPathFile.getPath().replace(FilePath.LOCAL_BASE_PATH,"fusion/") +"/" + fileName);
             setCreateStatus(model,1);
             modelService.saveOrUpdate(model);
             redisUtil.set(RedisKeyUtil.modelUpload+model.getModelId(),"100");