暂存文件的引用修复

This commit is contained in:
2026-01-22 17:00:10 +08:00
parent 2668faf8ad
commit 0d139f96f8
13 changed files with 65 additions and 38 deletions

View File

@@ -5,7 +5,7 @@ import msgpack
import datetime
from app.services.tjnetwork import *
from app.infra.db.influxdb import api as influxdb_api
from app.infra.db import redis_client # Assuming redis_client is exposed or needs initialization
from app.infra.cache.redis_client import redis_client # Assuming redis_client is exposed or needs initialization
# If redis_client isn't in app.infra.db, we might need to initialize it here or import from main if it was global.
# Given the instructions, we'll assume it needs to be imported or initialized.
# For now, let's copy the redis initialization logic if it's not centralized, or better,