Ken 6 дней назад
Родитель
Сommit
7fde213c09
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/BetService.php

+ 1 - 1
app/Services/BetService.php

@@ -436,7 +436,7 @@ class BetService extends BaseService
                     for ($i = 0; $i < $betTimes; $i++) {
                         if (strtotime($issueInfo['end_time']) - strtotime($now_date) < 22) {
                             $fake_bet_count = Cache::get("fake_bet_count_{$issueInfo->issue_no}", 0);
-                            if ($fake_bet_count >= rand(3, 5)) return;
+                            if ($fake_bet_count >= 3) return;
                         }