Skip to content

Commit

Permalink
🔨 #270
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Jul 30, 2022
1 parent 2c67694 commit 9bc5daa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions appexemplo_v2.0/api/routes2.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,25 @@
$app->get($urlChamada.'sysinfo', SysinfoAPI::class . ':getInfo');


//--------------------------------------------------------------------
// VIEW: selFilhosMenu
//--------------------------------------------------------------------
$urlGrupo = $urlChamada.'selfilhosmenu';
$app->group($urlGrupo, function(RouteCollectorProxy $group) use ($app,$urlGrupo) {
$app->get($urlGrupo, SelfilhosmenuAPI::class . ':selectAll');
$app->get($urlGrupo.'/{id:[0-9]+}', SelfilhosmenuAPI::class . ':selectById');

});

//--------------------------------------------------------------------
// VIEW: selFilhosMenuQtd
//--------------------------------------------------------------------
$urlGrupo = $urlChamada.'selfilhosmenuqtd';
$app->group($urlGrupo, function(RouteCollectorProxy $group) use ($app,$urlGrupo) {
$app->get($urlGrupo, SelfilhosmenuqtdAPI::class . ':selectAll');
$app->get($urlGrupo.'/{id:[0-9]+}', SelfilhosmenuqtdAPI::class . ':selectById');
});

//--------------------------------------------------------------------
// TABLE: meta_tipo
//--------------------------------------------------------------------
Expand Down

0 comments on commit 9bc5daa

Please sign in to comment.