Ken 1 주 전
부모
커밋
027a68fc53
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/Services/BaseService.php

+ 2 - 1
app/Services/BaseService.php

@@ -213,7 +213,8 @@ class BaseService
                 $botMsg['reply_markup'] = json_encode(['inline_keyboard' => $keyboard]);
             }
             if ($index == 0 && !empty($image)) {
-                $botMsg['photo'] = InputFile::create($image);
+//                $botMsg['photo'] = InputFile::create($image);
+                $botMsg['photo'] = $image;
                 $botMsg['caption'] = $item;
                 $botMsg['protect_content'] = true;  // 防止转发
                 $res[] = $botMsg;