mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-21 20:45:19 +08:00
自定义页面增加“跳转URL”功能
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
package serverconfigs
|
||||
|
||||
import "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/shared"
|
||||
|
||||
// HTTPShutdownConfig 关闭页面配置
|
||||
type HTTPShutdownConfig struct {
|
||||
IsPrior bool `yaml:"isPrior" json:"isPrior"`
|
||||
IsOn bool `yaml:"isOn" json:"isOn"`
|
||||
|
||||
BodyType shared.BodyType `yaml:"bodyType" json:"bodyType"` // 内容类型
|
||||
URL string `yaml:"url" json:"url"` // URL
|
||||
Body string `yaml:"body" json:"body"` // 输出的内容
|
||||
BodyType HTTPPageBodyType `yaml:"bodyType" json:"bodyType"` // 内容类型
|
||||
URL string `yaml:"url" json:"url"` // URL
|
||||
Body string `yaml:"body" json:"body"` // 输出的内容
|
||||
|
||||
Status int `yaml:"status" json:"status"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user