[SSL证书]实现对ACME任务的增删改查

This commit is contained in:
刘祥超
2020-11-25 21:19:07 +08:00
parent 3ba0d58cb8
commit 26c492d99a
22 changed files with 808 additions and 14 deletions

View File

@@ -24,6 +24,11 @@ func (this *ViewCertAction) RunGet(params struct {
return
}
if len(certResp.CertJSON) == 0 {
this.NotFound("sslCert", params.CertId)
return
}
certConfig := &sslconfigs.SSLCertConfig{}
err = json.Unmarshal(certResp.CertJSON, certConfig)
if err != nil {