Commit d077aa62 authored by lixiaofang's avatar lixiaofang

auto_vest

parent f79ca48c
......@@ -48,20 +48,16 @@ def auto_click_user(card_info, after_day=False):
"all_follow_id" not in card_info and "all_push_time" not in card_info):
###根据创建时间回答等级去获取对应的下发时间
repeat_time = 1
while True:
repeat_time = 1
if card_info['type'] == "get_write_answer_userinfo":
repeat_time = 0
card_info['have_click_number'] = 0
get_time, time_region = get_click_follow_time_by_create_time(create_time, content_level,
action_type="click",
after_day=after_day,
card_info=card_info,
repeat_time=repeat_time)
if len(get_time) > 0 and time_region != 3:
###拿到下发时间后根据下发的时间个数去拿对应个数的马甲账号
userids = get_vest_userid(need_comment_num=len(get_time))
......
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