mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-30 16:51:53 +08:00
19 lines
445 B
Go
19 lines
445 B
Go
// 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()
|
|
}
|