Explorar el Código

fix client route

Tokumeikoi hace 5 años
padre
commit
c03bd0098d
Se han modificado 1 ficheros con 5 adiciones y 7 borrados
  1. 5 7
      app/Http/Routes/ClientRoute.php

+ 5 - 7
app/Http/Routes/ClientRoute.php

@@ -11,13 +11,11 @@ class ClientRoute
             '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');
+            // Client
+            Route::get('/subscribe', 'ClientController@subscribe');
+            // App
+            Route::get('/app/data', 'AppController@data');
+            Route::get('/app/config', 'AppController@config');
         });
     }
 }