Przeglądaj źródła

v4.13.4 删除空间模型 增加删除oss资源

dengsixing 6 miesięcy temu
rodzic
commit
fcd88281d3

+ 1 - 1
src/main/java/com/fdkankan/scene/service/impl/BoxModelServiceImpl.java

@@ -176,7 +176,7 @@ public class BoxModelServiceImpl implements IBoxModelService {
         this.updateBoxModels(sceneEditInfo, boxModels);
 
         //删除oss文件
-        String glbKey = String.format(UploadFilePath.USER_EDIT_PATH, param.getNum()) + "boxModels/" + param.getSid() + "glb";
+        String glbKey = String.format(UploadFilePath.USER_EDIT_PATH, param.getNum()) + "boxModels/" + param.getSid() + ".glb";
         fYunFileService.deleteFile(glbKey);
         String modelPath = String.format(UploadFilePath.USER_EDIT_PATH, param.getNum()) + "boxModels/" + param.getSid();
         fYunFileService.deleteFolder(modelPath);