Commit 31d64588 authored by lixiaofang's avatar lixiaofang

add

parent 84b8d4a3
...@@ -33,14 +33,14 @@ def get_data(): ...@@ -33,14 +33,14 @@ def get_data():
def auto_user_id(): def auto_user_id():
try: try:
data = get_data() data = get_data()
# print(data) print(data)
# file = open("/srv/apps/physical/vest/data/user_id.txt", "w") file = open("/srv/apps/physical/vest/data/user_id.txt", "w")
#
# if data: if data:
# for i in data: for i in data:
# file.write(str(i[0])) file.write(str(i[0]))
# file.write("\n") file.write("\n")
redis_client.set("get_user_id_data", data) # redis_client.set("get_user_id_data", data)
except: except:
logging_exception() 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