Commit 2cb41a99 authored by 段英荣's avatar 段英荣

modify

parent 4755c942
......@@ -55,7 +55,7 @@ def home_recommend(session_id="",user_id=-1,offset=0,size=10):
for have_read_item in redis_field_val_list[2:]:
logging.info("duan add,redis_field_val_list_OOOO:%s" % str(have_read_item))
if have_read_item:
have_read_topic_id_set.union(json.loads(have_read_item))
have_read_topic_id_set=have_read_topic_id_set.union(json.loads(have_read_item))
#if user_id==-1:
# topic_id_list = list(set([item["id"] for item in topic_id_list]).difference(have_read_topic_id_set))
......
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