Update nano service endpoints
This commit is contained in:
parent
c421290635
commit
b1e891a2a0
|
@ -201,10 +201,14 @@ $router->get('/geocode', 'HelperController@getGoogleGeocoding');
|
|||
$router->group(['prefix' => '/'.config('services.nano_sante_service.name'),'middleware' => 'auth:api'], function () use ($router){
|
||||
// Insurances routes
|
||||
$router->group(['prefix' => '/insurances'], function () use ($router) {
|
||||
$router->get('countries/{countryId}', 'NanoSanteServiceController@get');
|
||||
$router->post('bonus-amount', 'NanoSanteServiceController@post');
|
||||
$router->post('subscribe', 'NanoSanteServiceController@post');
|
||||
$router->post('upload-images', 'NanoSanteServiceController@postWithFiles');
|
||||
$router->get('', 'NanoSanteServiceController@get');
|
||||
$router->group(['prefix' => '/subscriptions'], function () use ($router) {
|
||||
$router->post('bonus-amount', 'NanoSanteServiceController@post');
|
||||
$router->post('upload-images', 'NanoSanteServiceController@postWithFiles');
|
||||
$router->post('', 'NanoSanteServiceController@post');
|
||||
$router->put('{id}/validate', 'NanoSanteServiceController@put');
|
||||
$router->put('{id}/reject', 'NanoSanteServiceController@put');
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue