+ Update Helper routes
This commit is contained in:
parent
b921c059eb
commit
2749bdad98
|
@ -56,6 +56,8 @@
|
||||||
$router->group(['prefix' => '/'.env('WALLET_SERVICE_NAME') ,'middleware' => 'auth:api'], function () use ($router){
|
$router->group(['prefix' => '/'.env('WALLET_SERVICE_NAME') ,'middleware' => 'auth:api'], function () use ($router){
|
||||||
// Helper routes
|
// Helper routes
|
||||||
$router->get('countries','WalletServiceController@get');
|
$router->get('countries','WalletServiceController@get');
|
||||||
|
$router->get('countries/{dial_code}','WalletServiceController@get');
|
||||||
|
$router->get('paying_networks/{id_country}','WalletServiceController@get');
|
||||||
|
|
||||||
// Transactions routes
|
// Transactions routes
|
||||||
$router->group(['prefix' => '/transactions'] , function () use ($router){
|
$router->group(['prefix' => '/transactions'] , function () use ($router){
|
||||||
|
@ -94,7 +96,7 @@
|
||||||
$router->group(['prefix' => '/identifications'] , function () use ($router){
|
$router->group(['prefix' => '/identifications'] , function () use ($router){
|
||||||
$router->post('','WalletServiceController@post');
|
$router->post('','WalletServiceController@post');
|
||||||
$router->post('{id_identification}','WalletServiceController@postWithFiles');
|
$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');
|
$router->get('verify/{user_phone}','WalletServiceController@get');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue