mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-03-13 07:25:37 +08:00
调整目录结构
This commit is contained in:
@@ -17,6 +17,7 @@ func (this *Helper) BeforeAction(action *actions.ActionObject) {
|
||||
return
|
||||
}
|
||||
|
||||
action.Data["teaMenu"] = "servers"
|
||||
action.Data["mainTab"] = "component"
|
||||
action.Data["secondMenuItem"] = "group"
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package groups
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/servers/components/componentutils"
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
|
||||
"github.com/iwind/TeaGo"
|
||||
)
|
||||
@@ -11,7 +10,7 @@ func init() {
|
||||
server.
|
||||
Helper(helpers.NewUserMustAuth()).
|
||||
Helper(NewHelper()).
|
||||
Helper(componentutils.NewComponentHelper()).
|
||||
Data("teaSubMenu", "group").
|
||||
Prefix("/servers/components/groups").
|
||||
Get("", new(IndexAction)).
|
||||
GetPost("/createPopup", new(CreatePopupAction)).
|
||||
|
||||
Reference in New Issue
Block a user