fix: restore workbench and message routes

This commit is contained in:
2026-06-21 21:31:34 +08:00
parent 9647a227da
commit 46401e1a4e
5 changed files with 31 additions and 13 deletions
+3 -1
View File
@@ -17,7 +17,7 @@ from core.menu.schema import MenuCreate, MenuUpdate
menu_cache = CacheManager(prefix="menu:")
# 缓存key
AI_AGENT_ADMIN_MENU_CACHE_VERSION = "v12"
AI_AGENT_ADMIN_MENU_CACHE_VERSION = "v13"
MENU_TREE_CACHE_KEY = f"tree:ai_agent_admin:{AI_AGENT_ADMIN_MENU_CACHE_VERSION}"
USER_ROUTE_CACHE_PREFIX = f"user_route:ai_agent_admin:{AI_AGENT_ADMIN_MENU_CACHE_VERSION}:"
@@ -35,6 +35,8 @@ AI_AGENT_ADMIN_MENU_NAMES = {
"UserManagement",
"SystemMenu",
"SystemRole",
"Message",
"MessageList",
"AnnouncementList",
"AnnouncementManage",
}