refactor: 移除查询日志地区解析

This commit is contained in:
Nixevol
2026-07-03 03:23:44 +08:00
parent 70a8528f41
commit a78b5aa47a
22 changed files with 54 additions and 90 deletions
-1
View File
@@ -132,7 +132,6 @@ 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"],
"GEO_DRIVER": cfg["geo"]["driver"],
"LOG_RETENTION_DAYS": str(cfg["log"]["retention_days"]),
"WATERMARK_TEXT": cfg["watermark"]["text"],
}
-3
View File
@@ -50,9 +50,6 @@ blockchain:
app_id: ""
app_key: ""
geo:
driver: "mock" # IP 归属地:mock
log:
retention_days: 365 # 查询日志默认保留天数(后台可改)