add workflow 天润dynamic邮件同步,dev
This commit is contained in:
parent
add6ec2c63
commit
fb85a1f0a9
|
@ -67,6 +67,7 @@ def main(mail_task_id, dops_db_config, mpp_db_config, send_from):
|
||||||
# 组合时间戳和随机数
|
# 组合时间戳和随机数
|
||||||
mail_id = f"{timestampid}{random_part}"
|
mail_id = f"{timestampid}{random_part}"
|
||||||
title = title.replace('{date}', current_time)
|
title = title.replace('{date}', current_time)
|
||||||
|
output_file = output_file.replace('{time}', current_time)
|
||||||
|
|
||||||
file_dict_path = os.path.join(output_path, mail_id)
|
file_dict_path = os.path.join(output_path, mail_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue