作者 刘锟

update

... ... @@ -156,7 +156,7 @@ class DomainInfo extends Command
foreach ($list as $v) {
//更新证书到期时间
$data = [];
$ssl = $this->updateDomainSsl($v['domain']);
$ssl = $this->updateDomainSsl($v['custom_domain']);
$ssl['from'] && $data['certificate_start_time'] = $ssl['from'];
$ssl['to'] && $data['certificate_end_time'] = $ssl['to'];
... ... @@ -164,7 +164,7 @@ class DomainInfo extends Command
if ($v['type'] == 1 && ($data['certificate_end_time'] ?? '') < $end_day) {
//申请免费证书
$this->updateCustomPrivate($v['domain']);
$this->updateCustomPrivate($v['custom_domain']);
}
}
}
... ...