From c03bd0098d56a3e50824089a67cf0dd2c3bb07f7 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Sun, 2 Feb 2020 21:59:12 +0800 Subject: [PATCH] fix client route --- app/Http/Routes/ClientRoute.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app/Http/Routes/ClientRoute.php b/app/Http/Routes/ClientRoute.php index 47ddfbf9..d0b2e0c3 100644 --- a/app/Http/Routes/ClientRoute.php +++ b/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'); }); } }