mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-24 03:57:27 +08:00
fix: 修复tg机器人无法回复工单的问题
This commit is contained in:
@@ -23,8 +23,9 @@ class TelegramController extends Controller
|
||||
|
||||
public function webhook(Request $request)
|
||||
{
|
||||
$this->formatMessage($request->input());
|
||||
$this->formatChatJoinRequest($request->input());
|
||||
$data = json_decode(get_request_content(),true);
|
||||
$this->formatMessage($data);
|
||||
$this->formatChatJoinRequest($data);
|
||||
$this->handle();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user