增加若干API/增加多个网站功能项

This commit is contained in:
刘祥超
2023-12-20 15:09:09 +08:00
parent 99a2801591
commit 729311f605
18 changed files with 1286 additions and 540 deletions
@@ -8,6 +8,7 @@ const DefaultMaxRequestBodySize int64 = 256 << 10
type HTTPFirewallPolicy struct {
Id int64 `yaml:"id" json:"id"`
IsOn bool `yaml:"isOn" json:"isOn"`
ServerId int64 `yaml:"serverId" json:"serverId"` // 所属网站ID
Name string `yaml:"name" json:"name"`
Description string `yaml:"description" json:"description"`
Inbound *HTTPFirewallInboundConfig `yaml:"inbound" json:"inbound"`