|
@@ -87,7 +87,7 @@ public class ModelServiceImpl extends ServiceImpl<IModelMapper, Model> implement
|
|
|
String glbPath = String.format(GLB_PATH , "modelId_"+model.getModelId()) +"/"+modelName +"/mesh.glb";
|
|
|
String glbOssPath = String.format(FilePath.GLB_OSS_PATH, model.getModelId());
|
|
|
model.setModelObjUrl(objPath);
|
|
|
- model.setModelGlbUrl(glbOssPath);
|
|
|
+ model.setModelGlbUrl(queryPath + glbOssPath);
|
|
|
|
|
|
File newObjFile = new File(objPath +"/" + fileName);
|
|
|
if(!newObjFile.getParentFile().exists()){
|