- 重构了 ACME 相关的代码结构,增加了 Apply、GetProvider 和 ReNew函数 - 新增了域名申请功能,包括添加域名和申请证书 - 更新了数据库模型和相关接口,以支持新的域名申请功能 - 引入了 Cloudflare 的 DNS 提供商配置
17 lines
323 B
Go
17 lines
323 B
Go
package vo
|
|
|
|
type DomainPageReq struct {
|
|
Bean struct {
|
|
Name string `json:"name"`
|
|
}
|
|
Page Page
|
|
}
|
|
|
|
type DomainAddReq struct {
|
|
AcmeUserId uint `json:"acmeUserId"`
|
|
Hosts string `json:"hosts"`
|
|
Name string `json:"name"`
|
|
Provider string `json:"provider"`
|
|
ProviderConf string `json:"providerConf"`
|
|
}
|