Commit d2ceed58 authored by 赵威's avatar 赵威

update debug info

parent 96d3b288
...@@ -151,7 +151,6 @@ def get_lintags_by_user_id(user_id): ...@@ -151,7 +151,6 @@ def get_lintags_by_user_id(user_id):
devices = AccountRegExtra.objects.filter(user_id=user_id, is_online=True, is_deleted=False).values_list("device_id", flat=True) devices = AccountRegExtra.objects.filter(user_id=user_id, is_online=True, is_deleted=False).values_list("device_id", flat=True)
print(devices) print(devices)
if devices: if devices:
print("!!!")
linucb_recommend_redis_prefix = "physical:linucb:tag_recommend:device_id:" linucb_recommend_redis_prefix = "physical:linucb:tag_recommend:device_id:"
device_id = devices[0] device_id = devices[0]
redis_key = linucb_recommend_redis_prefix + str(device_id) redis_key = linucb_recommend_redis_prefix + str(device_id)
......
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