Commit 30d47c3d authored by 段英荣's avatar 段英荣

filter have read topic id list

parent 428e2b15
......@@ -64,7 +64,7 @@ def get_home_recommend_topic_ids(user_id,device_id,offset,size,query=None,query_
if redis_field_val_list[0]:
have_read_topic_id_list = list(json.loads(redis_field_val_list[0]))
topic_id_dict = TopicUtils.get_recommend_topic_ids(user_id, offset, size*size,query,query_type=TopicPageType.FIND_PAGE,filter_topic_id_list=have_read_topic_id_set)
topic_id_dict = TopicUtils.get_recommend_topic_ids(user_id, offset, size*size,query,query_type=TopicPageType.FIND_PAGE,filter_topic_id_list=have_read_topic_id_list)
have_read_group_id_set = set()
have_read_user_id_set = set()
unread_topic_id_dict = dict()
......
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