Quellcode durchsuchen

fix client route

Tokumeikoi vor 5 Jahren
Ursprung
Commit
c03bd0098d
1 geänderte Dateien mit 5 neuen und 7 gelöschten Zeilen
  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');
         });
     }
 }