Commit 4b886f8f authored by lixiaofang's avatar lixiaofang

add

parent 3f5a68fb
......@@ -61,6 +61,7 @@ def kafka_consum(topic_name=None):
push_time_date = datetime.datetime.strptime(current_push_time, '%Y-%m-%d %H:%M:%S')
if push_time_date <= nowtime: # push_time已经到时间了 需要去下发
# 判断如果当前的push_time 和当前的创建时间一样 需要给push_time下发真的push时间
logging.info("到时间了,该去下发了,卡片信息:%s" % card_info)
if current_push_time == create_time:
if card_info['action_type'] == "comment":
auto_comment_user(card_info, after_day=True)
......
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