2023-06-07 17:24:56 +08:00
|
|
|
// 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{}
|
2023-06-13 15:40:40 +08:00
|
|
|
this.Data["ossBucketParams"] = []maps.Map{}
|
2023-06-08 17:50:22 +08:00
|
|
|
this.Data["ossForm"] = ""
|
2023-06-07 17:24:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (this *AddOriginPopupAction) postOSSHook(protocol string) (config *ossconfigs.OSSConfig, goNext bool, err error) {
|
|
|
|
|
goNext = true
|
|
|
|
|
return
|
|
|
|
|
}
|