Commit b5edc529 authored by litaolemo's avatar litaolemo

update

parent 8d5b2667
......@@ -454,6 +454,7 @@ class TRACTATE_PLATFORM(Enum):
STRATEGY_SOYOUNG = ("16", "策略新氧文章")
STRATEGY_WEIBO = ("17", "策略微博文章")
def task_main():
# 实例化数据判断规则 注意高优先级在前 低优先级在后
push_rule_class1 = push_rule(favorite_count_ni=200,comment_count_ni=200, time_range=10, level=4)
......@@ -472,11 +473,11 @@ def task_main():
title_str = res_data["platform"] + "帖子内容审核"
body_str = """
问好:
有一篇新的{level}星内容需要审核,帖子号为{tractate_id}
有一篇新的{level}星内容需要审核,帖子号为{tractate_id},发布者为{releaser}
内容如下:
{content}
""".format(tractate_id=tractate_id, content=res_data["content"],level=res_data["level"])
""".format(tractate_id=tractate_id, content=res_data["content"],level=res_data["level"],releaser=res_data["releaser"])
send_file_email("", "", email_group=["<liulingling@igengmei.com>", "<liujinhuan@igengmei.com>",
"‎<hongxu@igengmei.com>", "‎<yangjiayue@igengmei.com>",
"‎<zhangweiwei@igengmei.com>","‎<liuyiting@igengmei.com>"], cc_group=["‎<duanyingrong@igengmei.com>","‎<litao@igengmei.com>"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment