|
@@ -175,6 +175,12 @@ public class BoxModelServiceImpl implements IBoxModelService {
|
|
|
//写数据库
|
|
|
this.updateBoxModels(sceneEditInfo, boxModels);
|
|
|
|
|
|
+ //删除oss文件
|
|
|
+ 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);
|
|
|
+
|
|
|
return ResultData.ok();
|
|
|
}
|
|
|
|