实现数据看板-DNS

This commit is contained in:
刘祥超
2021-07-11 21:44:03 +08:00
parent 4c82804622
commit 9e36847397
8 changed files with 446 additions and 14 deletions

View File

@@ -2,7 +2,10 @@
package boards
import "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
import (
teaconst "github.com/TeaOSLab/EdgeAdmin/internal/const"
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
)
type WafAction struct {
actionutils.ParentAction
@@ -13,5 +16,10 @@ func (this *WafAction) Init() {
}
func (this *WafAction) RunGet(params struct{}) {
if !teaconst.IsPlus {
this.RedirectURL("/dashboard")
return
}
this.Show()
}