This commit is contained in:
2025-05-19 13:15:36 +08:00
parent 229f9a5c38
commit fb051a5a4b
+2 -2
View File
@@ -18,8 +18,8 @@ class OssService
try {
$this->accessKeyId = getenv('OSS_ACCESS_KEY_ID');
$this->accessKeySecret = getenv('OSS_ACCESS_KEY_SECRET');
$this->bucket = getenv('OSS_BUCKET', 'vehicle-album');
$this->endpoint = getenv('OSS_ENDPOINT', 'https://oss-cn-beijing.aliyuncs.com');
$this->bucket = getenv('OSS_BUCKET', 'vehicle-info');
$this->endpoint = getenv('OSS_ENDPOINT', 'https://oss-ap-southeast-1.aliyuncs.com');
// 记录配置信息
error_log("OSS Configuration:");