mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-01 01:41:47 +08:00 
			
		
		
		
	feature: add telegram reply ticket
This commit is contained in:
		| @@ -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, '用户不存在'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user