调整目录结构

This commit is contained in:
刘祥超
2020-11-27 15:18:32 +08:00
parent e3eeee146b
commit 534a3f77f8
42 changed files with 56 additions and 199 deletions

View File

@@ -1,7 +1,6 @@
package components
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/servers/components/componentutils"
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
"github.com/iwind/TeaGo"
)
@@ -10,8 +9,8 @@ func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Helper(helpers.NewUserMustAuth()).
Data("teaSubMenu", "global").
Helper(NewHelper()).
Helper(componentutils.NewComponentHelper()).
Prefix("/servers/components").
GetPost("", new(IndexAction)).
EndAll()