From 84f8a88ba4f6af70b034cd9c6dc03fc3229fb133 Mon Sep 17 00:00:00 2001 From: liuwei Date: Fri, 21 Feb 2025 09:59:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=A4=E6=80=BB=E7=BB=93=E5=8A=A0=E5=85=A5?= =?UTF-8?q?=E4=BA=8649=E7=B1=BB=E5=9E=8B=EF=BC=8C=E5=8D=B3=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E7=B1=BB=E5=9E=8B=EF=BC=8C=E4=BD=9C=E4=B8=BA=E7=BE=A4?= =?UTF-8?q?=E8=81=8A=E5=B8=B8=E7=94=A8=E5=BD=A2=E5=BC=8F=EF=BC=8C=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E5=8C=85=E5=90=AB=E5=9C=A8=E6=80=BB=E7=BB=93=E4=B8=AD?= =?UTF-8?q?=E6=9D=A5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- message_storage/message_to_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message_storage/message_to_db.py b/message_storage/message_to_db.py index 58f2ee1..5903a7c 100644 --- a/message_storage/message_to_db.py +++ b/message_storage/message_to_db.py @@ -75,7 +75,7 @@ def get_messages(group_id, all_contacts: dict): '%Y-%m-%d %H:%M:%S') # 更新 Redis 存储的当前时间 - # r.set(key, current_date) + r.set(key, current_date) with connection.cursor() as cursor: # 执行查询,获取最近 8 小时的消息