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