mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 21:50:28 +08:00 
			
		
		
		
	增加用户列表菜单
This commit is contained in:
		@@ -13,6 +13,7 @@ func init() {
 | 
			
		||||
			Helper(helpers.NewUserMustAuth(configloaders.AdminModuleCodeUser)).
 | 
			
		||||
			Data("teaMenu", "users").
 | 
			
		||||
			Prefix("/users").
 | 
			
		||||
			Data("teaSubMenu", "users").
 | 
			
		||||
			Get("", new(IndexAction)).
 | 
			
		||||
			GetPost("/createPopup", new(CreatePopupAction)).
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -147,6 +147,13 @@ func FindAllMenuMaps(langCode string, nodeLogsType string, countUnreadNodeLogs i
 | 
			
		||||
			"module": configloaders.AdminModuleCodeUser,
 | 
			
		||||
			"name":   langs.Message(langCode, codes.AdminMenu_Users),
 | 
			
		||||
			"icon":   "users",
 | 
			
		||||
			"subItems": []maps.Map{
 | 
			
		||||
				{
 | 
			
		||||
					"name": langs.Message(langCode, codes.AdminMenu_UserList),
 | 
			
		||||
					"url":  "/users",
 | 
			
		||||
					"code": "users",
 | 
			
		||||
				},
 | 
			
		||||
			},
 | 
			
		||||
		},
 | 
			
		||||
		{
 | 
			
		||||
			"code":     "admins",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user