seven 2 tuần trước cách đây
mục cha
commit
a31b1f58e2
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 6 2
      app/Services/IssueService.php

+ 6 - 2
app/Services/IssueService.php

@@ -748,9 +748,13 @@ class IssueService extends BaseService
                     $combo[] = '尾' . $tail; // 尾数
                 }
 
-
+                $key = 'lottery_numbers_' . $v->issue_no;
                 $combo = implode(' ', $combo);
-                self::lotteryDraw($v->id, $winning_numbers, $combo, '');
+                if(Cache::add($key, $winning_numbers, 100)){
+                    self::lotteryDraw($v->id, $winning_numbers, $combo, '');
+
+                }
+                
             }
         }