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

This commit is contained in:
Windpicker-owo
2025-09-19 18:28:02 +08:00
parent 9d014de89c
commit 2ceda70e8e

View File

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