2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-08 11:59:48 +08:00

feat: 重写s3客户端

This commit is contained in:
2026-01-24 22:41:03 +08:00
parent 92425e99cc
commit c1b7a9fbd1
7 changed files with 103 additions and 167 deletions

View File

@@ -405,6 +405,7 @@ func (r *backupRepo) getStorage(backupStorage biz.BackupStorage) (storage.Storag
AccessKeyID: backupStorage.Info.AccessKey,
SecretAccessKey: backupStorage.Info.SecretKey,
Endpoint: backupStorage.Info.Endpoint,
Scheme: backupStorage.Info.Scheme,
BasePath: backupStorage.Info.Path,
AddressingStyle: storage.S3AddressingStyle(backupStorage.Info.Style),
})