Add nano service endpoints to add beneficiaries insurances subscriptions
This commit is contained in:
parent
e09b9a3b68
commit
fa879cb83c
|
@ -202,6 +202,10 @@ $router->get('/geocode', 'HelperController@getGoogleGeocoding');
|
|||
// Insurances routes
|
||||
$router->group(['prefix' => '/insurances'], function () use ($router) {
|
||||
$router->get('', 'NanoSanteServiceController@get');
|
||||
$router->get('networks', 'NanoSanteServiceController@get');
|
||||
$router->put('{id}/add-beneficiaries', 'NanoSanteServiceController@put');
|
||||
|
||||
// Subscriptions
|
||||
$router->group(['prefix' => '/subscriptions'], function () use ($router) {
|
||||
$router->post('bonus-amount', 'NanoSanteServiceController@post');
|
||||
$router->post('upload-images', 'NanoSanteServiceController@postWithFiles');
|
||||
|
@ -210,7 +214,6 @@ $router->get('/geocode', 'HelperController@getGoogleGeocoding');
|
|||
// $router->put('{id}/reject', 'NanoSanteServiceController@put');
|
||||
$router->put('{id}/pay', 'NanoSanteServiceController@put');
|
||||
$router->get('', 'NanoSanteServiceController@get');
|
||||
$router->put('{id}', 'NanoSanteServiceController@put');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue