chenjunkai 5 년 전
부모
커밋
8f08abf512
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      controller/Lottery.py

+ 2 - 2
controller/Lottery.py

@@ -147,8 +147,8 @@ class drawView(TemplateView):
         if tko.code == 0:
             phone = tko.userID
             qs = phoneNumModel.objects.filter(phone=phone, status=0)
-            if True:
-                # if qs.exists():
+            # if True:
+            if qs.exists():
                 # status c611=>1 , c612=>2 ,不中间=>3
                 # 权重
                 test = randomMachine()