Commit 9d13df21 authored by 张彦钊's avatar 张彦钊

change test file

parent 03529e9a
......@@ -22,7 +22,7 @@ def get_user_profile(device_id = "9C5E7C73-380C-4623-8F48-A64C8034E315"):
r = redis.Redis(host="172.16.40.135", port=5379, password="", db=2)
key = "user:portrait_tags:cl_id:" + str(device_id)
tmp = json.loads(r.get(key).decode('utf-8'))
print(tmp)
print(type(tmp))
search_tag = {}
for i in tmp:
if i["content"] in name_tag.keys():
......
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