M6: S3 附件支持(R2/COS/OSS)+ attachments:sync-s3 命令(Multipart/幂等),MinIO 实测通过

This commit is contained in:
ak
2026-08-11 18:35:17 +08:00
parent 1d1df43cee
commit 933736cfdd
4 changed files with 515 additions and 2 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ return [
'secret' => env('S3_SECRET_KEY'),
'region' => env('S3_REGION', 'auto'),
'bucket' => env('S3_BUCKET'),
'url' => env('S3_URL'),
'url' => env('S3_URL') ?: (env('S3_ENDPOINT') ? rtrim(env('S3_ENDPOINT'), '/').'/'.env('S3_BUCKET') : null),
'endpoint' => env('S3_ENDPOINT'),
'use_path_style_endpoint' => env('S3_USE_PATH_STYLE_ENDPOINT', false),
'visibility' => env('S3_VISIBILITY', 'public'),