mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 16:10:59 +08:00
feat: 一键签发证书支持自动同步域名
This commit is contained in:
@@ -717,6 +717,10 @@ func (r *websiteRepo) ObtainCert(ctx context.Context, id uint) error {
|
||||
return err
|
||||
}
|
||||
}
|
||||
newCert.Domains = website.Domains
|
||||
if err = app.Orm.Save(newCert).Error; err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
_, err = cRepo.ObtainAuto(newCert.ID)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user