Add nano service endpoints to get and update user insurances subscriptions

This commit is contained in:
Djery-Tom 2021-11-01 11:17:56 +01:00
parent b1e891a2a0
commit 59e5fc45db
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
php_value post_max_size 256M
php_value memory_limit 512M
php_value max_input_time 180
php_value max_execution_time 180
# For Apache server only
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)

View File

@ -206,8 +206,10 @@ $router->get('/geocode', 'HelperController@getGoogleGeocoding');
$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');
// $router->put('{id}/validate', 'NanoSanteServiceController@put');
// $router->put('{id}/reject', 'NanoSanteServiceController@put');
$router->get('', 'NanoSanteServiceController@get');
$router->put('{id}', 'NanoSanteServiceController@put');
});
});