Commit b2985a74 authored by lixiaofang's avatar lixiaofang

add

parent 1ecada93
......@@ -42,6 +42,6 @@ def one_seven_star_topic():
if rand_num == 1:
cook = login()
if cook is not None:
click(cook, i[1])
click(cook, i[0])
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......@@ -40,7 +40,7 @@ def one_seven_topic_comment():
for i in user_id:
cook = login()
if cook is not None:
click(cook, i[1])
click(cook, i[0])
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
......@@ -33,14 +33,12 @@ def get_data():
def auto_user_id():
try:
data = get_data()
print(data)
file = open("/srv/apps/physical/vest/data/get_user_id.txt", "w")
if data:
for i in data:
file.write(str(i[0]))
file.write("\n")
# redis_client.set("get_user_id_data", data)
redis_client.set("get_user_id_data", data)
except:
logging_exception()
......
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