|
@@ -99,7 +99,7 @@ public class ModelServiceImpl extends ServiceImpl<IModelMapper, Model> implement
|
|
|
CreateObjUtil.unRar(newObjFile.getPath(),objPath);
|
|
|
}
|
|
|
|
|
|
- OBJToGLBUtil.objToGlb(objPath,glbPath);
|
|
|
+ OBJToGLBUtil.objToGlb(objPath+"/mesh.obj",glbPath);
|
|
|
uploadToOssUtil.upload(glbPath,glbOssPath);
|
|
|
|
|
|
model.setCreateStatus(1); //上传成功
|