update

FFIB 1 周之前
父节点
当前提交
ff2b9895a1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      member/models.py

+ 1 - 1
member/models.py

@@ -1000,7 +1000,7 @@ class MemberActivityContributionInfo(BaseModelMixin, BrandInfoMixin):
1000 1000
         unlock_welfares = [unlock_welfare.data for unlock_welfare in unlock_welfares]
1001 1001
 
1002 1002
         try:
1003
-            lensman = LensmanInfo.objects.get(user_id=self.user_id, status=True)
1003
+            lensman = LensmanInfo.objects.get(user_id=self.user_id, lensman_status=LensmanInfo.ACTIVATED)
1004 1004
             lensman_name = lensman.name
1005 1005
         except:
1006 1006
             lensman_name = ''