mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-01-06 12:05:48 +08:00
[SSL证书]实现对ACME任务的增删改查
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user