排程管理新增企微通知功能(消息以及文件推送)
This commit is contained in:
1 parent
88051db91e
commit
8da487aac6
13 files changed
+267
-112
No files matched your search
@@ -56,9 +56,9 @@ def serialize_run(run: ScheduleRun) -> dict:
|
||||
'error_message': run.error_message,
|
||||
'excel_file_name': run.excel_file_name,
|
||||
'excel_file_size': run.excel_file_size,
|
||||
'mail_sent': bool(run.mail_sent),
|
||||
'mail_sent_at': run.mail_sent_at.isoformat() if run.mail_sent_at else None,
|
||||
'mail_error': run.mail_error,
|
||||
'wecom_notified': bool(run.wecom_notified),
|
||||
'wecom_notified_at': run.wecom_notified_at.isoformat() if run.wecom_notified_at else None,
|
||||
'wecom_notify_error': run.wecom_notify_error,
|
||||
'created_at': run.created_at.isoformat() if run.created_at else None,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user