mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-27 04:46:34 +08:00
阶段性提交
This commit is contained in:
14
internal/web/actions/default/servers/helper.go
Normal file
14
internal/web/actions/default/servers/helper.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package servers
|
||||
|
||||
import "github.com/iwind/TeaGo/actions"
|
||||
|
||||
type Helper struct {
|
||||
}
|
||||
|
||||
func NewHelper() *Helper {
|
||||
return &Helper{}
|
||||
}
|
||||
|
||||
func (this *Helper) BeforeAction(action *actions.ActionObject) {
|
||||
action.Data["teaMenu"] = "servers"
|
||||
}
|
||||
Reference in New Issue
Block a user