Commit 3a0a4f59 authored by tangtuo's avatar tangtuo

优化下载文件的代码

parent e4bb0ac2
......@@ -142,6 +142,7 @@ public class OssUtil {
if (in != null) {
in.close();
}
ossClient.shutdown();
} catch (Exception e) {
log.error(e.getMessage(), e);
throw GlobalException.newException(ResultCode.FILE_DOWNLOAD_ERROR, e.getMessage());
......
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