Commit 110517b6 authored by lixiaofang's avatar lixiaofang

add

parent 5f8ea24a
......@@ -119,7 +119,6 @@ def auto_majia_effect(pk_list):
def auto_click(pk_list):
logging.info("get--------auto_click--------------:%s" % pk_list)
exec_count_click = 0
try:
now = datetime.datetime.now()
yes_time_str = now.strftime('%Y-%m-%d')
......@@ -168,6 +167,11 @@ def auto_click(pk_list):
sleep_time = 50
timer = threading.Timer(sleep_time, fun_timer)
timer.start()
if exec_count_click > 2:
pass
sleep_time = random.randint(300, 540)
logging.info("----------1-----------")
timer = threading.Timer(10, fun_timer) # 首次启动
......
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