mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
feat: revoke certificate #293
This commit is contained in:
parent
52a23750b5
commit
c073801794
35 changed files with 1785 additions and 550 deletions
|
@ -92,6 +92,7 @@ type certJson struct {
|
|||
DnsCredentialID uint64 `json:"dns_credential_id"`
|
||||
ACMEUserID uint64 `json:"acme_user_id"`
|
||||
SyncNodeIds []uint64 `json:"sync_node_ids"`
|
||||
RevokeOld bool `json:"revoke_old"`
|
||||
}
|
||||
|
||||
func AddCert(c *gin.Context) {
|
||||
|
@ -192,6 +193,7 @@ func ModifyCert(c *gin.Context) {
|
|||
DnsCredentialID: json.DnsCredentialID,
|
||||
ACMEUserID: json.ACMEUserID,
|
||||
SyncNodeIds: json.SyncNodeIds,
|
||||
RevokeOld: json.RevokeOld,
|
||||
}
|
||||
|
||||
content := &cert.Content{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue