实现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

@@ -130,6 +130,12 @@ func (this *userMustAuth) BeforeAction(actionPtr actions.ActionWrapper, paramNam
// 菜单配置
func (this *userMustAuth) modules(adminId int64) []maps.Map {
allMaps := []maps.Map{
{
"code": "dashboard",
"module": configloaders.AdminModuleCodeDashboard,
"name": "看板",
"icon": "dashboard",
},
{
"code": "servers",
"module": configloaders.AdminModuleCodeServer,