mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	feature: add telegram reply ticket
This commit is contained in:
		| @@ -154,6 +154,7 @@ class TelegramController extends Controller | |||||||
|     private function replayTicket($ticketId) |     private function replayTicket($ticketId) | ||||||
|     { |     { | ||||||
|         $msg = $this->msg; |         $msg = $this->msg; | ||||||
|  |         if (!$msg->is_private) return; | ||||||
|         $user = User::where('telegram_id', $msg->chat_id)->first(); |         $user = User::where('telegram_id', $msg->chat_id)->first(); | ||||||
|         if (!$user) { |         if (!$user) { | ||||||
|             abort(500, '用户不存在'); |             abort(500, '用户不存在'); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user