Commit 87f27531 authored by 赵威's avatar 赵威

update debug info

parent d2ceed58
......@@ -158,11 +158,13 @@ def get_lintags_by_user_id(user_id):
print(redis_client.info)
try:
tag_data = redis_client.get(redis_key)
print(tag_data)
tag_list = json.loads(tag_data[:3]) if tag_data else []
print(tag_list)
print("=====")
except Exception as e:
print(e)
print("error!!")
return {"lin_tag_list": tag_list}
return {"lin_tag_list": []}
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