Commit 75faa9e0 authored by lixiaofang's avatar lixiaofang

add

parents e2e6f1bc 37ac6dd1
......@@ -63,18 +63,12 @@ def vest_click_reply():
logging.info("get majia data11111111111")
now = datetime.datetime.now()
yes_time = now - datetime.timedelta(minutes=5)
data = json.loads(redis_client.get("get_user_id_data"))
logging.info("get data-----------vest:%s" % data)
# user_data = open("/srv/apps/physical/vest/data/get_user_id.txt", "r")
user_list = []
for i in data.readlines():
user_list.append(i)
logging.info("get user_list-----------vest:%s" % user_list)
for i in data:
user_list.append(i[0])
logging.info("get user_list:%s" % user_list)
topic_id = get_data(yes_time, now)
if topic_id:
for id in topic_id:
......
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