优化OSS相关代码

This commit is contained in:
GoEdgeLab
2023-06-08 17:50:22 +08:00
parent 7e6e2b6889
commit 52113703cd
6 changed files with 6 additions and 93 deletions

View File

@@ -10,6 +10,7 @@ import (
func (this *AddOriginPopupAction) getOSSHook() {
this.Data["ossTypes"] = []maps.Map{}
this.Data["ossForm"] = ""
}
func (this *AddOriginPopupAction) postOSSHook(protocol string) (config *ossconfigs.OSSConfig, goNext bool, err error) {

View File

@@ -10,6 +10,7 @@ import (
func (this *AddPopupAction) getOSSHook() {
this.Data["ossTypes"] = []maps.Map{}
this.Data["ossForm"] = ""
}
func (this *AddPopupAction) postOSSHook(protocol string) (config *ossconfigs.OSSConfig, goNext bool, err error) {

View File

@@ -10,6 +10,7 @@ import (
func (this *UpdatePopupAction) getOSSHook() {
this.Data["ossTypes"] = []maps.Map{}
this.Data["ossForm"] = ""
}
func (this *UpdatePopupAction) postOSSHook(protocol string) (config *ossconfigs.OSSConfig, goNext bool, err error) {