优化图片工具类读取文件

This commit is contained in:
RuoYi 2021-06-02 11:45:40 +08:00
parent edd2981076
commit b7f3c68eca
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ public class ImageUtils
} }
finally finally
{ {
IOUtils.closeQuietly(in);
IOUtils.closeQuietly(baos); IOUtils.closeQuietly(baos);
} }
} }