This commit is contained in:
HuangHai
2026-01-21 08:41:47 +08:00
parent 306a3a4127
commit e51dc18d06
40 changed files with 1309 additions and 965 deletions

View File

@@ -59,6 +59,8 @@ async def lifespan(app: FastAPI):
finally:
logger.info("驿来特AI智能分析系统关闭...")
await close_db()
# Close Redis connection
await RedisKit().close()
app = FastAPI(title="驿来特AI智能分析系统", lifespan=lifespan)