mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			764 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			764 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| namespace App\Http\Routes;
 | |
| 
 | |
| use Illuminate\Contracts\Routing\Registrar;
 | |
| 
 | |
| class ClientRoute
 | |
| {
 | |
|     public function map(Registrar $router)
 | |
|     {
 | |
|         $router->group([
 | |
|             'prefix' => 'client',
 | |
|             'middleware' => 'client'
 | |
|         ], function ($router) {
 | |
|             // Plan
 | |
|             $router->get('plan/fetch', 'Guest\\PlanController@fetch');
 | |
|             // Order
 | |
|             $router->post('order/alipayNotify', 'Guest\\OrderController@alipayNotify');
 | |
|             $router->post('order/stripeNotify', 'Guest\\OrderController@stripeNotify');
 | |
|             $router->post('order/bitpayXNotify', 'Guest\\OrderController@bitpayXNotify');
 | |
|             $router->post('order/payTaroNotify', 'Guest\\OrderController@payTaroNotify');
 | |
|         });
 | |
|     }
 | |
| }
 |