- 将硬编码的时间配置改为从CONFIG读取 - 支持多接收人配置,修改open_id为数组类型 - 增加发送时间等待功能,确保消息在指定时间发送 - 改进停止定时任务的进程查找逻辑 - 更新配置项,增加checking_time、sending_time和message字段
10 lines
486 B
Python
10 lines
486 B
Python
CONFIG = {
|
||
"app_id": "cli_a8d64a7be63a500e",
|
||
"app_secret": "mcK8aTiq0CLtkzGs2aTZpcnom5J4o6yB",
|
||
"open_id": ["ou_c6466a45623096cf7a34d94fe30c6c73", "ou_3b94d0caf83dbced8b0e26af4852a281"],
|
||
"file_path": "C:\\Users\\22251\\OneDrive\\桌面\\picture\\",
|
||
"messages_reciever": "文件传输",
|
||
"checking_time": "17:15",
|
||
"sending_time": "17:17",
|
||
"message": "新的一天,从华智长盈每日AI新闻开始!让我们一起看看今天AI圈有啥新鲜事!"
|
||
} |