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

modify

parent fe802d5a
......@@ -40,7 +40,7 @@ class User(models.Model):
sql_data_list = User.objects.filter(user_id__in=follow_user_id_list)
for detail_data in sql_data_list:
item = {
"usr_id":detail_data.user_id,
"user_id":detail_data.user_id,
"country_id":detail_data.country_id
}
follow_user_detail_list.append(item)
......@@ -57,7 +57,7 @@ class User(models.Model):
sql_data_list = User.objects.filter(user_id__in=pick_user_id_list)
for detail_data in sql_data_list:
item = {
"usr_id":detail_data.user_id,
"user_id":detail_data.user_id,
"country_id":detail_data.country_id
}
pick_user_detail_list.append(item)
......@@ -77,7 +77,7 @@ class User(models.Model):
sql_data_list = User.objects.filter(user_id__in=same_group_user_id_list)
for detail_data in sql_data_list:
item = {
"usr_id":detail_data.user_id,
"user_id":detail_data.user_id,
"country_id":detail_data.country_id
}
same_group_detail_list.append(item)
......
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