seven 5 dní pred
rodič
commit
590e23d6ff
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      app/Http/Controllers/api/Home.php

+ 2 - 1
app/Http/Controllers/api/Home.php

@@ -9,6 +9,7 @@ use Telegram\Bot\Api;
 use Telegram\Bot\Exceptions\TelegramSDKException;
 use Telegram\Bot\FileUpload\InputFile;
 use Telegram\Bot\Objects\BotCommand;
+use Illuminate\Support\Facades\Log;
 
 class Home extends Controller
 {
@@ -170,7 +171,7 @@ class Home extends Controller
         } catch (TelegramSDKException $e) {
             return $this->error($e->getCode(), $e->getMessage());
         }
-
+        Log::error('Telegram 回调数据(JSON): ' . json_encode([123454], JSON_UNESCAPED_UNICODE));
         return $this->success($res);
     }