seven 1 tháng trước cách đây
mục cha
commit
d3726f4b73
1 tập tin đã thay đổi với 7 bổ sung3 xóa
  1. 7 3
      app/Services/IssueService.php

+ 7 - 3
app/Services/IssueService.php

@@ -151,14 +151,18 @@ class IssueService extends BaseService
         // $text .= "🔥🔥🔥🔥🔥开始下注🔥🔥🔥🔥🔥\n";
         $replyInfo = KeyboardService::findOne(['button' => '开始下注']);
         if($replyInfo){
-            self::log('开始下注通知: '.json_encode($replyInfo));
             $text = $replyInfo->reply;
             $buttons = json_decode($replyInfo->buttons,true);
             $image = $replyInfo->image;
             self::bettingGroupNotice($text, $buttons, url($image));
         }
-        
-        
+        $replyInfo = KeyboardService::findOne(['button' => '玩法规则']);
+        if($replyInfo){
+            $text = $replyInfo->reply;
+            $buttons = json_decode($replyInfo->buttons,true);
+            $image = $replyInfo->image;
+            self::bettingGroupNotice($text, $buttons, url($image));
+        }
         return ['code'=>self::YES, 'msg'=>'开始下注'];
     }