Commit 5bb22816 authored by Kai's avatar Kai

update

parent 1fa190fb
......@@ -281,8 +281,8 @@ def topic_detail_page_recommend(device_id="", user_id=-1, topic_id=-1, topic_pic
have_read_topic_list = list()
redis_field_list = [b'have_read_topic_list']
have_read_topic_redis_data = redis_client.hmget(redis_key,redis_field_list)
have_read_topic_list = json.loads(have_read_topic_redis_data) if have_read_topic_redis_data else []
have_read_topic_list = redis_client.hmget(redis_key,redis_field_list)
# have_read_topic_list = json.loads(have_read_topic_redis_data) if have_read_topic_redis_data else []
es_cli_obj = ESPerform.get_cli()
have_read_topic_list.append(topic_id)
if len(topic_tag_list) != 0:
......
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