[用户节点]可以管理用户节点

This commit is contained in:
GoEdgeLab
2020-12-14 21:24:21 +08:00
parent 60c160e4c5
commit be063f9533
39 changed files with 1205 additions and 19 deletions

View File

@@ -11,7 +11,7 @@ func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.
Helper(helpers.NewUserMustAuth(configloaders.AdminModuleCodeSetting)).
Helper(settingutils.NewHelper("database")).
Helper(settingutils.NewAdvancedHelper("database")).
Prefix("/settings/database").
Get("", new(IndexAction)).
GetPost("/update", new(UpdateAction)).