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

modify

parent ee73a2bb
......@@ -35,10 +35,13 @@ class User(models.Model):
is_shadow = False
is_recommend = False
"""
query_sql = UserExtra.objects.filter(user_id=user_id)
for record in query_sql:
is_recommend = record.is_recommend
is_shadow = record.is_shadow
is_shadow = record.is_shadow
"""
# 获取该用户最新发帖时间
latest_topic_time_val = -1
......
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