Commit c3937355 authored by 段英荣's avatar 段英荣

mosify

parent bde21e18
......@@ -141,7 +141,7 @@ class User(models.Model):
try:
user_tag_id_list = list()
query_results = AccountUserTag.objects.filter(user=self.user_id)
query_results = AccountUserTag.objects.filter(user=self.user_id,is_deleted=False)
for item in query_results:
user_tag_id_list.append(item.tag_id)
......
......@@ -47,7 +47,14 @@ class UserTransfer(object):
res["update_time"] = tzlc_update_time
res["update_time_val"] = int(time.mktime(tzlc_update_time.timetuple()))
res["tag_list"] = []
res["attention_user_id_list"] = []
res["attention_group_id_list"] = []
res["pick_user_id_list"] = []
res["same_group_user_id_list"] = []
"""
try:
res["tag_list"] = instance.get_user_tag_id_list()
res["attention_user_id_list"] = instance.get_follow_user_id_list()
......@@ -59,7 +66,8 @@ class UserTransfer(object):
res["attention_user_id_list"] = []
res["attention_group_id_list"] = []
res["pick_user_id_list"] = []
res["same_group_user_id_list"] = []
res["same_group_user_id_list"] = []
"""
return res
except:
......
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