实现Dashboard

This commit is contained in:
刘祥超
2021-01-21 18:55:53 +08:00
parent beab50de4c
commit bbf7e2898f
11 changed files with 328 additions and 18 deletions

View File

@@ -9,6 +9,7 @@ import (
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.Prefix("/dashboard").
Data("teaMenu", "dashboard").
Helper(helpers.NewUserMustAuth(configloaders.AdminModuleCodeCommon)).
GetPost("", new(IndexAction)).
EndAll()