|
@@ -239,6 +239,10 @@ public class SceneUploadServiceImpl extends ServiceImpl<ISceneUploadMapper, Scen
|
|
|
|
|
|
// File destFile = File.createTempFile(UUID.randomUUID().toString() ,extName);
|
|
|
String descFilePath = ConstantFilePath.SCENE_V4_PATH + "abcd/" + file.getOriginalFilename();
|
|
|
+ File file1 = new File(descFilePath);
|
|
|
+ if(!file1.getParentFile().exists()){
|
|
|
+ file1.mkdirs();
|
|
|
+ }
|
|
|
CreateObjUtil.formatMp4(oldFile.getPath(), descFilePath);
|
|
|
|
|
|
if(!cn.hutool.core.io.FileUtil.exist(descFilePath)){
|