调整界面

This commit is contained in:
GoEdgeLab
2020-10-10 20:28:36 +08:00
parent 8d24063e80
commit 444ca7535e
35 changed files with 276 additions and 49 deletions

View File

@@ -0,0 +1,18 @@
package security
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/settings/settingutils"
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
"github.com/iwind/TeaGo"
)
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Helper(helpers.NewUserMustAuth()).
Helper(settingutils.NewHelper("security")).
Prefix("/settings/security").
Get("", new(IndexAction)).
EndAll()
})
}