Commit 84b8d4a3 authored by lixiaofang's avatar lixiaofang

add

parent f0a1aadd
...@@ -48,7 +48,7 @@ def get_data(now, noww): ...@@ -48,7 +48,7 @@ def get_data(now, noww):
if (user_id and user_id[0][1] == 0) or len(user_id) == 0: if (user_id and user_id[0][1] == 0) or len(user_id) == 0:
topic_id_list.append(id) topic_id_list.append(id)
pc.close() pc.close()
logging.info("get topic_id_list:%s" % topic_id_list) logging.info("get majia topic_id_list:%s" % topic_id_list)
return topic_id_list return topic_id_list
except: except:
logging.error("catch exception,get_data:%s" % traceback.format_exc()) logging.error("catch exception,get_data:%s" % traceback.format_exc())
...@@ -57,6 +57,7 @@ def get_data(now, noww): ...@@ -57,6 +57,7 @@ def get_data(now, noww):
def vest_click_reply(): def vest_click_reply():
try: try:
logging.info("get majia data11111111111")
now = datetime.datetime.now() now = datetime.datetime.now()
yes_time = now - datetime.timedelta(minutes=5) yes_time = now - datetime.timedelta(minutes=5)
user_data = open("/srv/apps/physical/vest/data/get_user_id.txt", "r") user_data = open("/srv/apps/physical/vest/data/get_user_id.txt", "r")
......
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