修复阿里云oss下载路径问题
This commit is contained in:
parent
c686c55907
commit
c4eb48496b
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue