From 842b2aa2d924df6b4ca4edd5dc783de3faf40b46 Mon Sep 17 00:00:00 2001 From: Hanada Date: Mon, 12 May 2025 02:28:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E7=BD=B2=E8=AF=81?= =?UTF-8?q?=E4=B9=A6=E5=88=B0=E9=98=BF=E9=87=8C=E4=BA=91OSS=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/lib/deploy/aliyun.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/deploy/aliyun.php b/app/lib/deploy/aliyun.php index 4a255e4..7e361b9 100644 --- a/app/lib/deploy/aliyun.php +++ b/app/lib/deploy/aliyun.php @@ -236,7 +236,7 @@ class aliyun implements DeployInterface if (empty($config['oss_endpoint'])) throw new Exception('OSS Endpoint不能为空'); if (empty($config['oss_bucket'])) throw new Exception('OSS Bucket不能为空'); $client = new AliyunOSS($this->AccessKeyId, $this->AccessKeySecret, $config['oss_endpoint']); - $client->addBucketCnameCert($config['oss_bucket'], $config['domain'], $cert_id); + $client->addBucketCnameCert($config['oss_bucket'], $config['domain'], $cert_id . '-cn-hangzhou'); $this->log('OSS域名 ' . $config['domain'] . ' 部署证书成功!'); }