Commit 5a6b5427 authored by lixiaofang's avatar lixiaofang

dd

parent c7d44775
...@@ -11,8 +11,12 @@ from django.conf import settings ...@@ -11,8 +11,12 @@ from django.conf import settings
from majia import get_comments, get_cookies, click, time_conv, login, reply from majia import get_comments, get_cookies, click, time_conv, login, reply
from majia import host,user,passwd,db from majia import host,user,passwd,db
@shared_task @shared_task
def auto_click(pk_list): def auto_click(pk_list):
exec_count = 0
try: try:
pc = pymysql.connect(host=host, user=user, passwd=passwd, db=db, port=3306) pc = pymysql.connect(host=host, user=user, passwd=passwd, db=db, port=3306)
cursor = pc.cursor() cursor = pc.cursor()
......
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