feat: 载入各种服务

This commit is contained in:
DLmaster361
2025-08-05 22:50:07 +08:00
parent 4ca7f9053f
commit 6898e548a5
9 changed files with 290 additions and 527 deletions

View File

@@ -26,16 +26,17 @@ from utils import get_logger
from .config import Config
logger = get_logger("主业务定时器")
class _MainTimer:
def __init__(self):
super().__init__()
self.logger = get_logger("主业务定时器")
async def second_task(self):
"""每秒定期任务"""
self.logger.info("每秒定期任务启动")
logger.info("每秒定期任务启动")
while True: