修复新兴趣标签没有commit的问题
This commit is contained in:
@@ -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("✅ 兴趣标签已成功保存到数据库")
|
||||||
|
|||||||
Reference in New Issue
Block a user