Commit 66365eb1 authored by lixiaofang's avatar lixiaofang

add

parent 133098db
......@@ -45,7 +45,7 @@ def write_to_es(es_type, pk_list, use_batch_query_set=False):
if es_type == 'topic':
auto_click(pk_list)
# auto_reply(pk_list)
auto_reply(pk_list)
except:
......@@ -109,6 +109,7 @@ def sync_user_similar_score():
except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
@shared_task
def auto_majia_effect(pk_list):
logging.info("get -----auto_majia_effect----")
......@@ -139,7 +140,7 @@ def auto_click(pk_list):
def fun_timer():
cookies = login()
if cookies:
logging.info("get topic_id_list:%s"%topic_id_list)
logging.info("get topic_id_list:%s" % topic_id_list)
click(cookies, topic_id_list[0])
global 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