+ Update Helper routes

This commit is contained in:
Djery-Tom 2020-06-21 22:50:36 +01:00
parent b921c059eb
commit 2749bdad98
1 changed files with 3 additions and 1 deletions

View File

@ -56,6 +56,8 @@
$router->group(['prefix' => '/'.env('WALLET_SERVICE_NAME') ,'middleware' => 'auth:api'], function () use ($router){
// Helper routes
$router->get('countries','WalletServiceController@get');
$router->get('countries/{dial_code}','WalletServiceController@get');
$router->get('paying_networks/{id_country}','WalletServiceController@get');
// Transactions routes
$router->group(['prefix' => '/transactions'] , function () use ($router){
@ -94,7 +96,7 @@
$router->group(['prefix' => '/identifications'] , function () use ($router){
$router->post('','WalletServiceController@post');
$router->post('{id_identification}','WalletServiceController@postWithFiles');
$router->get('{id_user}','WalletServiceController@get');
$router->get('{user_phone}','WalletServiceController@get');
$router->get('verify/{user_phone}','WalletServiceController@get');
});
});