Commit 02cf1423 authored by 赵威's avatar 赵威

test model

parent 2ac7b752
...@@ -146,7 +146,8 @@ def choice_pictorial_push_tag(device_id, user_id): ...@@ -146,7 +146,8 @@ def choice_pictorial_push_tag(device_id, user_id):
@bind("physical/search/lintag_by_user_id") @bind("physical/search/lintag_by_user_id")
def get_lintags_by_user_id(user_id): def get_lintags_by_user_id(user_id):
return {"abc": user_id} res = Account_reg_extra.objects.filter(user_id=user_id, is_online=True, is_deleted=False).values_list("device_id", flat=True)
return {"abc": res}
@bind("physical/search/choice_push_tag") @bind("physical/search/choice_push_tag")
......
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