Commit af85b73e authored by 段英荣's avatar 段英荣

modify

parent 560d3c2f
......@@ -245,7 +245,7 @@ def topic_detail_page_recommend(device_id="",user_id=-1,topic_id=-1,topic_group_
if have_read_topic_len>5000:
have_read_topic_list = have_read_topic_list[(have_read_topic_len-5000):]
redis_client.set(json.dumps(have_read_topic_list))
redis_client.set(redis_key, json.dumps(have_read_topic_list))
return {"recommend_topic_ids": recommend_topic_ids_list}
except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
......
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