seven 1 gün önce
ebeveyn
işleme
d7406ad45d
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 1 1
      app/Services/BetService.php
  2. 2 2
      app/Services/IssueService.php

+ 1 - 1
app/Services/BetService.php

@@ -373,7 +373,7 @@ class BetService extends BaseService
                 $betMini = $betFakeRandAmount[0]??10;
                 $betMax = $betFakeRandAmount[1]??10000;
 
-                $now_date = date('Y-m-d H:i:s',time() + 60); // 提前60
+                $now_date = date('Y-m-d H:i:s',time() + 45); // 提前45
                 if($issueInfo['end_time'] > $now_date){
                     $fake_bet_list = Cache::get('fake_bet_' . $issueInfo->issue_no, []);
 

+ 2 - 2
app/Services/IssueService.php

@@ -289,7 +289,7 @@ class IssueService extends BaseService
                 SendTelegramGroupMessageJob::dispatch($text, $buttons, $image, true);
             }
             //暂时注释
-        //    $recordImage = self::lotteryImage($info->issue_no);
+           $recordImage = self::lotteryImage($info->issue_no);
             if ($recordImage) {
                 // self::bettingGroupNotice('', [], url($recordImage));
                 SendTelegramGroupMessageJob::dispatch('', [], url($recordImage), false);
@@ -898,7 +898,7 @@ class IssueService extends BaseService
     // 封盘倒数
     public static function syncCountdownIssue()
     {
-        $now_date = date('Y-m-d H:i:s', time() + 50); // 提前50秒
+        $now_date = date('Y-m-d H:i:s', time() + 60); // 提前60秒
         $info = self::model()::where('status', self::model()::STATUS_BETTING)->orderBy('end_time', 'asc')->first();
         if ($info) {
             if ($info['end_time'] < $now_date) {