chenjunkai 5 rokov pred
rodič
commit
cea7ec7e3e
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      controller/Lottery.py

+ 2 - 2
controller/Lottery.py

@@ -164,12 +164,12 @@ class drawView(TemplateView):
                 if count_1 >= 5 > count_2:
                     print('type1')
                     # 权重组
-                    chow_weight = {2: 1, 3: 50}
+                    chow_weight = {2: 1, 3: 25}
                     test.setWeight(chow_weight)
                     has_chow = test.drawing()
                 elif count_1 < 5 <= count_2:
                     print('type2')
-                    chow_weight = {1: 1, 3: 50}
+                    chow_weight = {1: 1, 3: 25}
                     test.setWeight(chow_weight)
                     has_chow = test.drawing()
                 elif count_2 == 5 == count_2: