2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-06 21:08:41 +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

@@ -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: