From ba97ac3685c759cd80d70494550a02c61ffbe915 Mon Sep 17 00:00:00 2001 From: Hanada Date: Tue, 8 Jul 2025 21:42:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E7=BD=B2=E9=98=BF?= =?UTF-8?q?=E9=87=8C=E4=BA=91=E6=97=B6=E8=AF=81=E4=B9=A6=E5=BA=8F=E5=88=97?= =?UTF-8?q?=E5=8F=B7=E5=8F=AF=E8=83=BD=E5=AD=98=E5=9C=A8=E5=89=8D=E7=BD=AE?= =?UTF-8?q?0=E7=9A=84=E9=97=AE=E9=A2=98?= 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 a2f8c9a..67514f8 100644 --- a/app/lib/deploy/aliyun.php +++ b/app/lib/deploy/aliyun.php @@ -101,7 +101,7 @@ class aliyun implements DeployInterface $cert_id = null; if ($data['TotalCount'] > 0 && !empty($data['CertificateOrderList'])) { foreach ($data['CertificateOrderList'] as $cert) { - if (strtolower($cert['SerialNo']) == $serial_no) { + if (strtolower($cert['SerialNo']) == $serial_no || strpos(strtolower($cert['SerialNo']), $serial_no) !== false) { $cert_id = $cert['CertificateId']; $cert_name = $cert['Name']; break;