Commit 7e6aaf57 authored by 赵威's avatar 赵威

update code

parent 36092d26
......@@ -543,5 +543,5 @@ def get_user_portrait_tag3_with_score(device_id):
portrait_key = "doris:user_portrait:tag3:device_id:" + str(device_id)
redis_client = get_redis_client()
if redis_client.exists(portrait_key):
return json.loads(redis_client.get(portrait_key))
return json.loads(redis_client.get(portrait_key).decode("utf-8"))
return {}
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