Files
XingHuo/app/gateway/__init__.py
T

11 lines
594 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""模拟交易网关(PRD FR-1 · D5;外部 Core 交易系统替身)。
模块例外条款(FRAMEWORK §3):本模块的 gateway_repository 是唯一允许
INSERT jinrong_core.core_trade 的代码入口;生产环境由真实交易系统回调替代,
整个 app/gateway/ 退役。
链路(架构 §3.1):参数校验(convert→400)→ suitability_check(FR-2,
不匹配→阻断,不落 trade)→ 匹配→INSERT core_trade→同步调规则引擎(FR-3)
→ 返回 blocked + trade_id + 触发规则。阻断/放行全量审计(agent_type='platform')。
"""