|
@@ -77,7 +77,7 @@ public class DownloadTourVideoServiceImpl extends ServiceImpl<IDownloadTourVideo
|
|
String srcPath = ConstantFilePath.SCENE_V4_PATH + num + "/tour/" + tempFileName;
|
|
String srcPath = ConstantFilePath.SCENE_V4_PATH + num + "/tour/" + tempFileName;
|
|
File tempFile = new File(srcPath);
|
|
File tempFile = new File(srcPath);
|
|
if(!tempFile.getParentFile().exists()){
|
|
if(!tempFile.getParentFile().exists()){
|
|
- tempFile.getParentFile().mkdir();
|
|
|
|
|
|
+ tempFile.getParentFile().mkdirs();
|
|
}
|
|
}
|
|
file.transferTo(tempFile);
|
|
file.transferTo(tempFile);
|
|
|
|
|