feat: 接入天河链存证接口

This commit is contained in:
Nixevol
2026-07-06 18:25:55 +08:00
parent 3efc1ecd88
commit 07114b759d
26 changed files with 412 additions and 236 deletions
+2
View File
@@ -132,6 +132,8 @@ def build_env(cfg: dict) -> dict[str, str]:
"TIANHE_BASE_URL": bc["tianhe"]["base_url"],
"TIANHE_APP_ID": bc["tianhe"]["app_id"],
"TIANHE_APP_KEY": bc["tianhe"]["app_key"],
"TIANHE_USER_ID": bc["tianhe"].get("user_id", ""),
"TIANHE_USER_KEY": bc["tianhe"].get("user_key", ""),
"LOG_RETENTION_DAYS": str(cfg["log"]["retention_days"]),
"WATERMARK_TEXT": cfg["watermark"]["text"],
}