修复新兴趣标签没有commit的问题

This commit is contained in:
Windpicker-owo
2025-09-19 18:28:02 +08:00
parent b6753f2de4
commit 10d5fc7202

View File

@@ -721,6 +721,7 @@ class BotInterestManager:
last_updated=interests.last_updated
)
session.add(new_record)
session.commit()
logger.info(f"✅ 成功创建兴趣标签配置,版本: {interests.version}")
logger.info("✅ 兴趣标签已成功保存到数据库")