feature: add telegram reply ticket

This commit is contained in:
Tokumeikoi 2020-08-03 16:28:30 +08:00
parent 6a79ba5744
commit 58aacf562c

View File

@ -154,6 +154,7 @@ class TelegramController extends Controller
private function replayTicket($ticketId)
{
$msg = $this->msg;
if (!$msg->is_private) return;
$user = User::where('telegram_id', $msg->chat_id)->first();
if (!$user) {
abort(500, '用户不存在');