Ken 1 hari lalu
induk
melakukan
60ed876df9
1 mengubah file dengan 6 tambahan dan 6 penghapusan
  1. 6 6
      app/Services/IssueService.php

+ 6 - 6
app/Services/IssueService.php

@@ -175,7 +175,7 @@ class IssueService extends BaseService
                 $buttons = self::getOperateButton();
             }
 
-            if ($pc28Switch == 0)  self::asyncBettingGroupNotice($text, $buttons, $image);
+            if ($pc28Switch == 0) self::asyncBettingGroupNotice($text, $buttons, $image);
         }
 
         $replyInfo = KeyboardService::findOne(['button' => '开始下注']);
@@ -186,7 +186,7 @@ class IssueService extends BaseService
             if ($image) {
                 $image = url($image);
             }
-            if ($pc28Switch == 0)  self::asyncBettingGroupNotice($text, $buttons, $image);
+            if ($pc28Switch == 0) self::asyncBettingGroupNotice($text, $buttons, $image);
         }
 
         return ['code' => self::YES, 'msg' => '开始下注'];
@@ -837,11 +837,11 @@ class IssueService extends BaseService
                     if ($res['code'] == self::NOT) {
                         Log::error("开奖失败:{$v->issue_no}   {$res['meg']} ");
                     }
-                    throw new \Exception('开奖失败','1111');
+                    throw new \Exception('开奖失败', '1111');
                     $new = false;
-                }else{
+                } else {
                     Log::error("开奖失败:{$v->issue_no}   1111111111111 ");
-                    throw new \Exception('开奖失败','12222');
+                    throw new \Exception('开奖失败', '12222');
                 }
 
                 // Log::error('开奖缓存: ' .$key);
@@ -874,7 +874,7 @@ class IssueService extends BaseService
 
                 $id = $res['key'] ?? 0;
                 if ($id) {
-                   self::betting($id); // 开始下注
+                    self::betting($id); // 开始下注
 
                 }
                 Cache::set('new_issue_no', $new_issue_no, 10); // 缓存