Normalize legacy home redirects

This commit is contained in:
2026-06-09 18:45:02 +08:00
parent 39aa708c4f
commit f8bdc3e952
6 changed files with 49 additions and 33 deletions
+1 -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 = "v4"
AI_AGENT_ADMIN_MENU_CACHE_VERSION = "v5"
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}:"
+2 -2
View File
@@ -11744,7 +11744,7 @@
"fields": {
"application_id": "23CFVEUHdZcOQyku1mbIO",
"config_key": "frontend_preferences",
"config_value": "{\"app\": {\"defaultHomePath\": \"/app/workflow_center/page-render/flow_index\"}}",
"config_value": "{\"app\": {\"defaultHomePath\": \"/control-center\"}}",
"config_type": "preferences",
"description": "子应用UI偏好配置",
"status": true,
@@ -11764,7 +11764,7 @@
"fields": {
"application_id": "uRFPsrZ0BSJodp-qesFq6",
"config_key": "frontend_preferences",
"config_value": "{\"app\": {\"defaultHomePath\": \"/app/cheliangguanli/form-render/cheliangguanli\"}}",
"config_value": "{\"app\": {\"defaultHomePath\": \"/control-center\"}}",
"config_type": "preferences",
"description": "子应用UI偏好配置",
"status": true,