Ken před 6 dny
rodič
revize
3adf1acc3c
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      app/Services/PcIssueService.php

+ 2 - 1
app/Services/PcIssueService.php

@@ -319,7 +319,7 @@ class PcIssueService extends BaseService
 
 
         $pc28Switch = Config::where('field', 'pc28_switch')->first()->val;
-        $wanFaGuiZeTime = Cache::get("玩法规则推送时间",0);
+        $wanFaGuiZeTime = Cache::get("玩法规则推送时间", 0);
         $now = time();
         if ($now - $wanFaGuiZeTime > (60 * 15)) {
             $replyInfo = KeyboardService::findOne(['button' => '玩法规则']);
@@ -376,6 +376,7 @@ class PcIssueService extends BaseService
     //根据指定0-27的数字 得到20个数字
     public static function getMatchingNumbers($target): array|null
     {
+        $target = intval($target);
         $numbers = range(1, 80);
         $bestMatch = null;
         for ($i = 0; $i < 100000; $i++) {