调整界面

This commit is contained in:
刘祥超
2020-10-10 20:28:36 +08:00
parent 1a47606c5f
commit 0f571cad57
35 changed files with 276 additions and 49 deletions

View File

@@ -1,6 +1,7 @@
package node
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/settings/settingutils"
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
"github.com/iwind/TeaGo"
)
@@ -9,6 +10,7 @@ func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Helper(helpers.NewUserMustAuth()).
Helper(settingutils.NewHelper("api")).
Prefix("/api/node").
// 这里不受Helper的约束