mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 13:10:24 +08:00 
			
		
		
		
	集群设置--网站设置中“处理未绑定域名方式”支持跳转到网址
This commit is contained in:
		@@ -5,6 +5,7 @@ import "github.com/iwind/TeaGo/maps"
 | 
				
			|||||||
const (
 | 
					const (
 | 
				
			||||||
	DomainMismatchActionPage     = "page"
 | 
						DomainMismatchActionPage     = "page"
 | 
				
			||||||
	DomainMismatchActionClose    = "close"
 | 
						DomainMismatchActionClose    = "close"
 | 
				
			||||||
 | 
						DomainMismatchActionRedirect = "redirect"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type DomainMismatchPageOptions struct {
 | 
					type DomainMismatchPageOptions struct {
 | 
				
			||||||
@@ -15,6 +16,10 @@ type DomainMismatchPageOptions struct {
 | 
				
			|||||||
type DomainMismatchCloseOptions struct {
 | 
					type DomainMismatchCloseOptions struct {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					type DomainMismatchRedirectOptions struct {
 | 
				
			||||||
 | 
						URL string `yaml:"url" json:"url"`
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type DomainMismatchAction struct {
 | 
					type DomainMismatchAction struct {
 | 
				
			||||||
	Code    string   `yaml:"code" json:"code"`       // 动作代号
 | 
						Code    string   `yaml:"code" json:"code"`       // 动作代号
 | 
				
			||||||
	Options maps.Map `yaml:"options" json:"options"` // 动作选项
 | 
						Options maps.Map `yaml:"options" json:"options"` // 动作选项
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user