总结优化

This commit is contained in:
liuwei
2025-03-07 09:15:47 +08:00
parent ad3ae960f1
commit 684214d2d0
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ class MessageStorage:
'%Y-%m-%d %H:%M:%S')
# 更新 Redis 存储的当前时间
# r.set(key, current_date)
self._get_redis_connection().set(key, current_date)
with connection.cursor() as cursor:
# 执行查询,获取最近 8 小时的消息

View File

@@ -100,4 +100,4 @@ class BotMusic:
<appinfo><version>1</version><appname/></appinfo>
<commenturl/>"""
self.wcf.forward_msg(message.sender, xml, 3)
self.wcf.forward_msg(message.sender, xml)