diff --git a/www-api/app/Config/RoutesV1.php b/www-api/app/Config/RoutesV1.php index 36d4370e..9928914b 100644 --- a/www-api/app/Config/RoutesV1.php +++ b/www-api/app/Config/RoutesV1.php @@ -7,6 +7,9 @@ $routes->get('/', 'Home::index'); $routes->get('/en/wrench/api/v1/test','Home::test'); +$routes->get('/backoffice/svs/bko','BackOffice::backofficegate'); +$routes->post('/backoffice/svs/bko','BackOffice::backofficegate'); + $routes->post('/en/wrench/api/v1/promoverify', 'Promo::promoVerify'); diff --git a/www-api/app/Controllers/BackOffice.php b/www-api/app/Controllers/BackOffice.php new file mode 100644 index 00000000..b19ad9f4 --- /dev/null +++ b/www-api/app/Controllers/BackOffice.php @@ -0,0 +1,85 @@ +wrenchboard->wrenchboard_api($in, $out); + $out['internal_return'] = $ret; + + return $this->respond($this->summaryReturnData($in,$out,[]), 200); + } + +}