重构项目

This commit is contained in:
2025-10-30 19:03:35 +08:00
parent 7e10e2d2da
commit 674690f63c
4 changed files with 24 additions and 121 deletions

View File

@ -42,7 +42,7 @@ func main() {
Certificate, PrivateKey, status := moudle.ApplyCert(cert.Domains, conf.Acme.Email, providers[0])
if status {
failedApply = append(failedApply, cert.Domains)
return
os.Exit(0)
}
success, failed := moudle.UpdateCert(conf, email, Certificate, PrivateKey, cert)