mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 14:57:16 +08:00
feat(证书管理): 不返回关联的模型信息
This commit is contained in:
56
docs/docs.go
56
docs/docs.go
@@ -1199,9 +1199,6 @@ const docTemplate = `{
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"dns": {
|
||||
"$ref": "#/definitions/models.CertDNS"
|
||||
},
|
||||
"dns_id": {
|
||||
"description": "关联的 DNS ID",
|
||||
"type": "integer"
|
||||
@@ -1226,16 +1223,10 @@ const docTemplate = `{
|
||||
"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"
|
||||
@@ -1245,12 +1236,6 @@ const docTemplate = `{
|
||||
"models.CertDNS": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"certs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/models.Cert"
|
||||
}
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1280,12 +1265,6 @@ const docTemplate = `{
|
||||
"description": "CA 提供商 (letsencrypt, zerossl, sslcom, google, buypass)",
|
||||
"type": "string"
|
||||
},
|
||||
"certs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/models.Cert"
|
||||
}
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1312,41 +1291,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -52,8 +52,6 @@ definitions:
|
||||
type: string
|
||||
created_at:
|
||||
type: string
|
||||
dns:
|
||||
$ref: '#/definitions/models.CertDNS'
|
||||
dns_id:
|
||||
description: 关联的 DNS ID
|
||||
type: integer
|
||||
@@ -71,23 +69,15 @@ definitions:
|
||||
type: string
|
||||
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
|
||||
type: object
|
||||
models.CertDNS:
|
||||
properties:
|
||||
certs:
|
||||
items:
|
||||
$ref: '#/definitions/models.Cert'
|
||||
type: array
|
||||
created_at:
|
||||
type: string
|
||||
dns_param:
|
||||
@@ -108,10 +98,6 @@ definitions:
|
||||
ca:
|
||||
description: CA 提供商 (letsencrypt, zerossl, sslcom, google, buypass)
|
||||
type: string
|
||||
certs:
|
||||
items:
|
||||
$ref: '#/definitions/models.Cert'
|
||||
type: array
|
||||
created_at:
|
||||
type: string
|
||||
email:
|
||||
@@ -129,29 +115,6 @@ definitions:
|
||||
updated_at:
|
||||
type: string
|
||||
type: object
|
||||
models.Website:
|
||||
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
|
||||
type: object
|
||||
requests.CertStore:
|
||||
properties:
|
||||
auto_renew:
|
||||
|
||||
Reference in New Issue
Block a user