Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
c4eb4849
Commit
c4eb4849
authored
Nov 18, 2022
by
zhuxiao
Browse files
修复阿里云oss下载路径问题
parent
c686c559
Changes
1
Hide whitespace changes
Inline
Side-by-side
jeepay-components/jeepay-components-oss/src/main/java/com/jeequan/jeepay/components/oss/service/AliyunOssService.java
View file @
c4eb4849
...
...
@@ -130,7 +130,7 @@ public class AliyunOssService implements IOssService {
}
String
bucket
=
ossSavePlaceEnum
==
OssSavePlaceEnum
.
PRIVATE
?
aliyunOssYmlConfig
.
getPrivateBucketName
()
:
aliyunOssYmlConfig
.
getPublicBucketName
();
this
.
ossClient
.
getObject
(
new
GetObjectRequest
(
bucket
,
fullPath
),
downloadFile
);
this
.
ossClient
.
getObject
(
new
GetObjectRequest
(
bucket
,
source
),
downloadFile
);
return
true
;
}
catch
(
Exception
e
)
{
...
...
Write
Preview
Supports
Markdown
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