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
@@ -5,7 +5,7 @@ from app.database import get_session_local
from app.models import KPIDefinition, KPIValue
ERP_API = "http://127.0.0.1:8300"
ERP_KEY = os.environ.get("ERP_API_KEY", "erp-gateway-key-bhwl-2026")
ERP_KEY = os.environ.get("ERP_API_KEY", "")
async def _get(url: str, params: dict = None):
async with httpx.AsyncClient(timeout=20) as c: