Commit 6ff996df authored by 段英荣's avatar 段英荣

modify

parent 1cbd53d6
...@@ -130,7 +130,6 @@ def get_home_recommend_topic_ids(user_id, device_id, tag_id, offset, size, query ...@@ -130,7 +130,6 @@ def get_home_recommend_topic_ids(user_id, device_id, tag_id, offset, size, query
if len(have_read_topic_id_list) > 5000: if len(have_read_topic_id_list) > 5000:
cut_len = len(have_read_topic_id_list)-5000 cut_len = len(have_read_topic_id_list)-5000
have_read_topic_id_list = have_read_topic_id_list[cut_len:] have_read_topic_id_list = have_read_topic_id_list[cut_len:]
redis_dict = { redis_dict = {
"have_read_topic_list": json.dumps(have_read_topic_id_list), "have_read_topic_list": json.dumps(have_read_topic_id_list),
} }
......
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