Ken пре 1 недеља
родитељ
комит
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;
                         }