|
@@ -145,7 +145,7 @@ public class ThreadService {
|
|
ShellUtil.yunUpload(objPathFile.getPath(),objPathFile.getPath().replace(FilePath.LOCAL_BASE_PATH,"fusion/"));
|
|
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.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);
|
|
setCreateStatus(model,1);
|
|
modelService.saveOrUpdate(model);
|
|
modelService.saveOrUpdate(model);
|
|
redisUtil.set(RedisKeyUtil.modelUpload+model.getModelId(),"100");
|
|
redisUtil.set(RedisKeyUtil.modelUpload+model.getModelId(),"100");
|