thresholds.py // 聚合支付防风控核心铁律
ZERO-FREEZE ENGINE
HARD_RULES = { # 刚性防封控阈值,触发即自动切码
single_qr_daily_max_volume
¥5,000.00 PASS ✓
random_cents_anti_risk_float
-¥0.01 ~ -¥0.05 PASS ✓
max_unpaid_orders_per_ip
3 orders / 5m PASS ✓
webhook_hmac_sha256_verify
strict_enforced PASS ✓
SOFT_ROUTING = { # AI 动态负载均衡策略
auto_cooldown_after_consecutive_pay
15 orders ➔ 60s PASS ✓
usdt_trc20_auto_rate_sync
binance_realtime PASS ✓
instant_d0_auto_settlement
enabled PASS ✓
1. create_order()
➔
2. float_match()
➔
3. notify_merchant()