fix 异步定时服务

This commit is contained in:
jxxghp
2025-08-25 21:19:07 +08:00
parent 91a124ab8f
commit 6379cda148
4 changed files with 12 additions and 14 deletions
+2 -2
View File
@@ -35,10 +35,10 @@ async def lifespan(app: FastAPI):
定义应用的生命周期事件
"""
print("Starting up...")
# 初始化模块
init_modules()
# 初始化路由
init_routers(app)
# 初始化模块
init_modules()
# 恢复插件备份
SystemChain().restore_plugins()
# 初始化插件