初始化询价智能体新仓:同步本地工程并排除密钥与 .env。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-09-13 14:30:44 +08:00
co-authored by Cursor
commit 2a14def882
2621 changed files with 393165 additions and 0 deletions
@@ -0,0 +1,22 @@
"""
H5 补问 / 附件上传通道。
本文件职责:挂载 /inquiry-form 相关壳路由;字段快照与流程状态在 Graph/PG,不在本包。
禁止:从 URL 读 userid;禁止在本包改六态或直连 TMS。
"""
from __future__ import annotations
from fastapi import APIRouter
router = APIRouter(prefix="/inquiry-form", tags=["h5"])
@router.get("/ping")
def h5_ping() -> dict[str, str]:
"""
H5 路由占位探测。
正式页用一次性 token;骨架不校验 token、不落库。
"""
return {"status": "ok", "channel": "h5", "note": "scaffold-only"}