feat:(2673) 优化buildPublicXImageProcess

This commit is contained in:
xudawei 2024-10-09 16:21:09 +08:00
parent b49bc7eec3
commit 9963fdff2a

View File

@ -986,7 +986,7 @@ public class FileServiceImpl implements FileService {
case PUBLIC_BUCKET://公有桶 - 永久链接例如 http://xxx.png
String url = this.fileManager.fetchDownloadUrl(bucketName, tgtFileKey, channelCode);//item.getBucketName() item.getChannelCode()
return SignUrlDownloadResponse.builder()
.signUrl(this.buildPublicXImageProcess(url, null))
.signUrl(this.fileManager.buildPublicXImageProcess(url, null))
.fileKey(fileUuid)//item.getFileUuid()
.build();
case PRIVATE_BUCKET://私有桶 - 临时授权链接 例如 http://xxx.png?Expire=a&AccessKeyId=b&Signature=c&repsonse-content-disposition=d