Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fzm-joying
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lei
fzm-joying
Commits
3a0a4f59
Commit
3a0a4f59
authored
Jul 19, 2021
by
tangtuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化下载文件的代码
parent
e4bb0ac2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
OssUtil.java
...ng-common/src/main/java/com/fzm/common/utils/OssUtil.java
+1
-0
No files found.
joying-common/src/main/java/com/fzm/common/utils/OssUtil.java
View file @
3a0a4f59
...
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment