调整界面

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

@@ -0,0 +1,18 @@
package backup
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("backup")).
Prefix("/settings/backup").
Get("", new(IndexAction)).
EndAll()
})
}