From 31300d8a7bf254b47a7bd93975d0d8a44f331311 Mon Sep 17 00:00:00 2001 From: net909 Date: Sun, 5 Jan 2025 10:56:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96SSL=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E7=AD=89=E5=BE=85=E8=80=97=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/CertOrderService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/service/CertOrderService.php b/app/service/CertOrderService.php index 0ac2cd8..d9ff61b 100644 --- a/app/service/CertOrderService.php +++ b/app/service/CertOrderService.php @@ -117,7 +117,9 @@ class CertOrderService $this->saveLog(date('Y-m-d H:i:s').' - 开始添加DNS记录'); $this->addDns(); $this->saveLog('添加DNS记录成功,请等待生效后进行验证...'); - Db::name('cert_order')->where('id', $this->order['id'])->update(['retrytime' => date('Y-m-d H:i:s', time() + 300)]); + if (CertHelper::$cert_config[$this->atype]['cname']) { + Db::name('cert_order')->where('id', $this->order['id'])->update(['retrytime' => date('Y-m-d H:i:s', time() + 180)]); + } return 1; } // step4: 查询DNS