Commit 2cdde6c0 authored by lixiaofang's avatar lixiaofang

add

parent 74ae9a3d
......@@ -45,7 +45,7 @@ def get_data(now, noww):
id[0]) + " and is_online =1 and is_deleted =0")
data = cursor.fetchall()
user_id = list(data)
if (user_id and user_id[0][1] == 0) or len(user_id) == 0:
if user_id and user_id[0][1] == 1:
topic_id_list.append(id)
pc.close()
logging.info("get majia topic_id_list:%s" % topic_id_list)
......@@ -60,7 +60,7 @@ def vest_click_reply():
logging.info("get majia data11111111111")
now = datetime.datetime.now()
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/user_id.txt", "r")
user_list = []
for i in user_data.readlines():
user_list.append(i)
......
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