Refresh lightweight admin branding and menu cache
This commit is contained in:
@@ -17,8 +17,9 @@ from core.menu.schema import MenuCreate, MenuUpdate
|
|||||||
menu_cache = CacheManager(prefix="menu:")
|
menu_cache = CacheManager(prefix="menu:")
|
||||||
|
|
||||||
# 缓存key
|
# 缓存key
|
||||||
MENU_TREE_CACHE_KEY = "tree:ai_agent_admin"
|
AI_AGENT_ADMIN_MENU_CACHE_VERSION = "v2"
|
||||||
USER_ROUTE_CACHE_PREFIX = "user_route:ai_agent_admin:"
|
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}:"
|
||||||
|
|
||||||
AI_AGENT_ADMIN_MENU_NAMES = {
|
AI_AGENT_ADMIN_MENU_NAMES = {
|
||||||
"ControlCenter",
|
"ControlCenter",
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ export const overridesPreferences = defineOverridesPreferences({
|
|||||||
mode: 'light',
|
mode: 'light',
|
||||||
},
|
},
|
||||||
copyright: {
|
copyright: {
|
||||||
companyName: 'ZQ-Platform',
|
companyName: 'AI Agent Admin',
|
||||||
companySiteLink: 'https://zq-platform.com',
|
companySiteLink: '',
|
||||||
date: '2025',
|
date: '2025',
|
||||||
enable: true,
|
enable: true,
|
||||||
icp: '',
|
icp: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user