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

Merge branch 'dev' into 'master'

modify

See merge request !24
parents bd209cb1 fbde4df0
......@@ -28,7 +28,7 @@ def home_recommend(session_id="",user_id=-1,offset=0,size=10):
session_id = ""
redis_key = "physical:home_recommend" + ":user_id:" + str(user_id) + ":session_id:" + session_id
redis_val_dict = redis_client.hgetall(redis_key)
last_offset_num = redis_val_dict["last_offset_num"] if "last_offset_num" in redis_val_dict else -1
last_offset_num = redis_val_dict[b"last_offset_num"] if b"last_offset_num" in redis_val_dict else -1
recommend_topic_ids = []
......
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