mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2026-11-02 19:21:44 +08:00
28 lines
1.0 KiB
Go
28 lines
1.0 KiB
Go
package request
|
|
|
|
import "SamWaf/model/common/request"
|
|
|
|
type SslConfigAddReq struct {
|
|
CertContent string `json:"cert_content" form:"cert_content"` // 证书文件内容
|
|
KeyContent string `json:"key_content" form:"key_content"` // 密钥文件内容
|
|
KeyPath string `json:"key_path"` //密钥文件位置
|
|
CertPath string `json:"cert_path"` //crt文件配置
|
|
}
|
|
type SslConfigEditReq struct {
|
|
Id string `json:"id"`
|
|
CertContent string `json:"cert_content" form:"cert_content"` // 证书文件内容
|
|
KeyContent string `json:"key_content" form:"key_content"` // 密钥文件内容
|
|
KeyPath string `json:"key_path"` //密钥文件位置
|
|
CertPath string `json:"cert_path"` //crt文件配置
|
|
}
|
|
type SslConfigDetailReq struct {
|
|
Id string `json:"id" form:"id"`
|
|
}
|
|
type SslConfigDeleteReq struct {
|
|
Id string `json:"id" form:"id"`
|
|
}
|
|
type SslConfigSearchReq struct {
|
|
Domains string `json:"domains"` // 证书适用的域名
|
|
request.PageInfo
|
|
}
|