mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-25 03:00:25 +08:00
26 lines
471 B
Go
26 lines
471 B
Go
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
|
|
|
package boards
|
|
|
|
import (
|
|
teaconst "github.com/TeaOSLab/EdgeAdmin/internal/const"
|
|
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
|
)
|
|
|
|
type WafAction struct {
|
|
actionutils.ParentAction
|
|
}
|
|
|
|
func (this *WafAction) Init() {
|
|
this.Nav("", "", "waf")
|
|
}
|
|
|
|
func (this *WafAction) RunGet(params struct{}) {
|
|
if !teaconst.IsPlus {
|
|
this.RedirectURL("/dashboard")
|
|
return
|
|
}
|
|
|
|
this.Show()
|
|
}
|