feat(messenger): 全部77个活跃cron脚本接入统一消息通道(install_stdio_hook)

This commit is contained in:
xxm
2026-08-21 22:34:25 +08:00
parent 5e0141eb28
commit 20c05b6e7c
77 changed files with 2083 additions and 1544 deletions
@@ -9,6 +9,13 @@ XMPP 走 alert_helper 统一网关(分级 ACTION)。
"""
import sys, json, os, datetime, sqlite3
# ── 消息通道统一路由(broadcast/xmpp by delivery) ──
try:
from messenger import install_stdio_hook as _msh
_msh()
except Exception:
pass
sys.path.insert(0, "/home/hmo/MoFin")
os.chdir("/home/hmo/MoFin")
DB = "/home/hmo/MoFin/data/mofin.db"