Commit a21f35c2 authored by 陈精华's avatar 陈精华 Committed by kl

修复:删除文件时,也删除文件夹

parent fde31cb3
...@@ -70,6 +70,7 @@ public class DeleteFileUtil { ...@@ -70,6 +70,7 @@ public class DeleteFileUtil {
break; break;
} }
} }
dirFile.delete();
if (!flag) { if (!flag) {
LOGGER.info("删除目录失败!"); LOGGER.info("删除目录失败!");
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment