feat:(2673) 优化buildPublicXImageProcess
This commit is contained in:
parent
b49bc7eec3
commit
9963fdff2a
@ -986,7 +986,7 @@ public class FileServiceImpl implements FileService {
|
|||||||
case PUBLIC_BUCKET://公有桶 - 永久链接,例如 http://xxx.png
|
case PUBLIC_BUCKET://公有桶 - 永久链接,例如 http://xxx.png
|
||||||
String url = this.fileManager.fetchDownloadUrl(bucketName, tgtFileKey, channelCode);//item.getBucketName() item.getChannelCode()
|
String url = this.fileManager.fetchDownloadUrl(bucketName, tgtFileKey, channelCode);//item.getBucketName() item.getChannelCode()
|
||||||
return SignUrlDownloadResponse.builder()
|
return SignUrlDownloadResponse.builder()
|
||||||
.signUrl(this.buildPublicXImageProcess(url, null))
|
.signUrl(this.fileManager.buildPublicXImageProcess(url, null))
|
||||||
.fileKey(fileUuid)//item.getFileUuid()
|
.fileKey(fileUuid)//item.getFileUuid()
|
||||||
.build();
|
.build();
|
||||||
case PRIVATE_BUCKET://私有桶 - 临时授权链接 例如 http://xxx.png?Expire=a&AccessKeyId=b&Signature=c&repsonse-content-disposition=d
|
case PRIVATE_BUCKET://私有桶 - 临时授权链接 例如 http://xxx.png?Expire=a&AccessKeyId=b&Signature=c&repsonse-content-disposition=d
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user