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()