split router

This commit is contained in:
Tokumeikoi
2020-02-01 20:58:36 +08:00
parent d744fba683
commit 1b23998248
6 changed files with 82 additions and 82 deletions

View File

@ -11,12 +11,12 @@ class GuestRoute
'prefix' => 'guest'
], function ($router) {
// Plan
$router->get('plan/fetch', 'Guest\\PlanController@fetch');
$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');
$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');
});
}
}