2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 23:27:17 +08:00

feat(证书管理): 不返回关联的模型信息

This commit is contained in:
耗子
2023-11-07 02:09:29 +08:00
parent 70601dfb00
commit e032faeae0
6 changed files with 5 additions and 154 deletions

View File

@@ -1192,9 +1192,6 @@
"created_at": {
"type": "string"
},
"dns": {
"$ref": "#/definitions/models.CertDNS"
},
"dns_id": {
"description": "关联的 DNS ID",
"type": "integer"
@@ -1219,16 +1216,10 @@
"updated_at": {
"type": "string"
},
"user": {
"$ref": "#/definitions/models.CertUser"
},
"user_id": {
"description": "关联的 ACME 用户 ID",
"type": "integer"
},
"website": {
"$ref": "#/definitions/models.Website"
},
"website_id": {
"description": "关联的网站 ID",
"type": "integer"
@@ -1238,12 +1229,6 @@
"models.CertDNS": {
"type": "object",
"properties": {
"certs": {
"type": "array",
"items": {
"$ref": "#/definitions/models.Cert"
}
},
"created_at": {
"type": "string"
},
@@ -1273,12 +1258,6 @@
"description": "CA 提供商 (letsencrypt, zerossl, sslcom, google, buypass)",
"type": "string"
},
"certs": {
"type": "array",
"items": {
"$ref": "#/definitions/models.Cert"
}
},
"created_at": {
"type": "string"
},
@@ -1305,41 +1284,6 @@
}
}
},
"models.Website": {
"type": "object",
"properties": {
"cert": {
"$ref": "#/definitions/models.Cert"
},
"created_at": {
"type": "string"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"php": {
"type": "integer"
},
"remark": {
"type": "string"
},
"ssl": {
"type": "boolean"
},
"status": {
"type": "boolean"
},
"updated_at": {
"type": "string"
}
}
},
"requests.CertStore": {
"type": "object",
"properties": {