Commit 6cd31835 authored by hongguangwu's avatar hongguangwu

1.7.21-优化临时文件

parent fe79a932
......@@ -97,6 +97,8 @@ public class ExcelToImage {
e.printStackTrace();
}
}
// 新增:强制垃圾回收以清理 Spire.XLS 的临时字体文件
System.gc();
}
return R.failed(CommonConstants.RESULT_DATA_FAIL);
}
......
......@@ -142,7 +142,6 @@ public class WordToImageUtil {
if (imgFile != null) {
imgFile.delete();
}
}
return "---";
}
......
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