mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			691 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			691 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| namespace App\Http\Routes;
 | |
| 
 | |
| use Illuminate\Contracts\Routing\Registrar;
 | |
| 
 | |
| class GuestRoute
 | |
| {
 | |
|     public function map(Registrar $router)
 | |
|     {
 | |
|         $router->group([
 | |
|             'prefix' => 'guest'
 | |
|         ], function ($router) {
 | |
|             // Plan
 | |
|             $router->get ('/plan/fetch', 'Guest\\PlanController@fetch');
 | |
|             // Telegram
 | |
|             $router->post('/telegram/webhook', 'Guest\\TelegramController@webhook');
 | |
|             // Payment
 | |
|             $router->match(['get', 'post'], '/payment/notify/{method}/{uuid}', 'Guest\\PaymentController@notify');
 | |
|             // Comm
 | |
|             $router->get ('/comm/config', 'Guest\\CommController@config');
 | |
|         });
 | |
|     }
 | |
| }
 |