seven hace 4 días
padre
commit
0353a29940
Se han modificado 2 ficheros con 1 adiciones y 4 borrados
  1. 0 2
      app/Services/BaseService.php
  2. 1 2
      app/Services/IssueService.php

+ 0 - 2
app/Services/BaseService.php

@@ -148,8 +148,6 @@ class BaseService
         if(!empty($image)){
             $botMsg['photo'] = InputFile::create($image);
             // $botMsg['caption'] = $text;
-            unset($botMsg['text']);
-
         }
         self::telegram()->sendMessage($botMsg);
     }

+ 1 - 2
app/Services/IssueService.php

@@ -153,8 +153,7 @@ class IssueService extends BaseService
         if($replyInfo){
             self::log('开始下注通知: '.json_encode($replyInfo));
             $text = $replyInfo->reply;
-            // $buttons = json_decode($replyInfo->buttons,true);
-            $buttons = [];
+            $buttons = json_decode($replyInfo->buttons,true);
             $image = $replyInfo->image;
             self::bettingGroupNotice($text, $buttons, $image);
         }