mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			381 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			381 B
		
	
	
	
		
			Go
		
	
	
	
	
	
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()
 | 
						|
}
 |