package ui import ( "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils" "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/firewallconfigs" ) type EventLevelOptionsAction struct { actionutils.ParentAction } func (this *EventLevelOptionsAction) RunPost(params struct{}) { this.Data["eventLevels"] = firewallconfigs.FindAllFirewallEventLevels() this.Success() }