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

Merge branch 'only_no_see' into 'master'

filter have read topic id list

See merge request alpha/physical!101
parents b0ea46ba 19d7cb40
......@@ -103,7 +103,7 @@ def get_home_recommend_topic_ids(user_id,device_id,offset,size,query=None,query_
else:
break
redis_dict = {
"have_read_topic_list":json.dumps(have_read_user_id_set),
"have_read_topic_list":json.dumps(list(have_read_user_id_set)),
}
redis_client.hmset(redis_key,redis_dict)
# 每个session key保存15分钟
......
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