mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
feature: add telegram reply ticket
This commit is contained in:
parent
6a79ba5744
commit
58aacf562c
@ -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, '用户不存在');
|
||||
|
Loading…
Reference in New Issue
Block a user