chore(erp): 清理ERP_API_KEY硬编码默认值+任务脚本小调整(与本次待办跳转修复无关,单独成commit)

This commit is contained in:
Hermes CI Fix
2026-08-31 15:33:07 +08:00
parent 74dc9baff5
commit 79bc877f31
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ logger = logging.getLogger("erp_sync")
# ERP API 配置
ERP_API_BASE = os.getenv("ERP_API_BASE", "http://127.0.0.1:8300/api/v1")
ERP_API_KEY = os.getenv("ERP_API_KEY", "erp-gateway-key-bhwl-2026")
ERP_API_KEY = os.getenv("ERP_API_KEY", "")
# 无DB会话时使用的静态映射(保底,使用真实KPI编码)
# 对应 data_source_config 表的 active 端点(id=1,2,3,4