mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			555 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			555 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
 | 
						|
//go:build !plus
 | 
						|
 | 
						|
package servers
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/ossconfigs"
 | 
						|
	"github.com/iwind/TeaGo/maps"
 | 
						|
)
 | 
						|
 | 
						|
func (this *AddOriginPopupAction) getOSSHook() {
 | 
						|
	this.Data["ossTypes"] = []maps.Map{}
 | 
						|
	this.Data["ossBucketParams"] = []maps.Map{}
 | 
						|
	this.Data["ossForm"] = ""
 | 
						|
}
 | 
						|
 | 
						|
func (this *AddOriginPopupAction) postOSSHook(protocol string) (config *ossconfigs.OSSConfig, goNext bool, err error) {
 | 
						|
	goNext = true
 | 
						|
	return
 | 
						|
}
 |