Ken hai 3 días
pai
achega
7ef12805ba
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      app/Http/Controllers/api/TelegramWebHook.php

+ 0 - 3
app/Http/Controllers/api/TelegramWebHook.php

@@ -104,8 +104,6 @@ class TelegramWebHook extends BaseController
                             } else {
                                 $this->telegram->sendMessage($returnMsg);
                             }
-                        } else {
-                            $this->telegram->sendMessage(['chat_id' => $chatId, 'text' => lang("消息格式错误!"), 'reply_to_message_id' => $messageId]);
                         }
                         DB::commit();
                     } //
@@ -120,7 +118,6 @@ class TelegramWebHook extends BaseController
                         $telegram->sendMessage(['chat_id' => $chatId, 'text' => '‼️‼️系统发生了错误,请联系客服']);
                     }
                 }
-
             }
         } //
         catch (Exception $e) {