seven 4 天之前
父節點
當前提交
0353a29940
共有 2 個文件被更改,包括 1 次插入4 次删除
  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);
         }