Commit c8d7df61 authored by 赵威's avatar 赵威

update debug info

parent 87f27531
...@@ -159,7 +159,7 @@ def get_lintags_by_user_id(user_id): ...@@ -159,7 +159,7 @@ def get_lintags_by_user_id(user_id):
try: try:
tag_data = redis_client.get(redis_key) tag_data = redis_client.get(redis_key)
print(tag_data) print(tag_data)
tag_list = json.loads(tag_data[:3]) if tag_data else [] tag_list = json.loads(str(tag_data[:3], encoding="utf-8")) if tag_data else []
print(tag_list) print(tag_list)
print("=====") print("=====")
except Exception as e: except Exception as e:
......
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