// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved. package iplists import ( "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils" "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/firewallconfigs" ) type LevelOptionsAction struct { actionutils.ParentAction } func (this *LevelOptionsAction) RunPost(params struct{}) { this.Data["levels"] = firewallconfigs.FindAllFirewallEventLevels() this.Success() }