From 7812022e6417aa7433e3c29aec5c9d5059d1db68 Mon Sep 17 00:00:00 2001 From: huangzhenpc Date: Wed, 26 Feb 2025 10:42:09 +0800 Subject: [PATCH] debug --- app/services/mail_store.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/mail_store.py b/app/services/mail_store.py index d36711d..00d9a00 100644 --- a/app/services/mail_store.py +++ b/app/services/mail_store.py @@ -168,7 +168,7 @@ class MailStore: recipients=','.join(recipients) if isinstance(recipients, list) else recipients, body_text=body_text, body_html=body_html, - received_at=datetime.datetime.now() + received_at=datetime.now() ) # 提取验证码和验证链接(如果有) @@ -255,7 +255,7 @@ class MailStore: if mark_as_read and not email.read: email.read = True - email.last_read = datetime.datetime.now() + email.last_read = datetime.now() db.commit() # 获取附件信息