Commit 988bade3 authored by 段英荣's avatar 段英荣

modify

parent 55f5840d
......@@ -63,7 +63,7 @@ class User(models.Model):
follow_user_id_list.append(user_follow.follow_id)
follow_user_detail_list = list()
sql_data_list = self.objects.filter(user_id__in=follow_user_id_list)
sql_data_list = User.objects.filter(user_id__in=follow_user_id_list)
for detail_data in sql_data_list:
item = {
"user_id":detail_data.user_id,
......
......@@ -53,9 +53,14 @@ class UserTransfer(object):
try:
res["tag_list"] = instance.get_user_tag_id_list()
res["attention_user_id_list"] = instance.get_follow_user_id_list()
res["attention_group_id_list"] = []
res["pick_user_id_list"] = []
res["same_group_user_id_list"] = []
"""
res["attention_group_id_list"] = instance.get_attention_group_id_list()
res["pick_user_id_list"] = instance.get_pick_user_id_list()
res["same_group_user_id_list"] = instance.get_same_group_user_id_list()
res["same_group_user_id_list"] = instance.get_same_group_user_id_list()
"""
except:
logging.error("duan test,catch exception,err_msg:%s" % traceback.format_exc())
res["tag_list"] = []
......
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