您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

routes.php 491B

123456789101112131415
  1. <?php
  2. /**
  3. * @var $route \Luticate\Utils\Controller\LuRoute
  4. */
  5. $route = $app->getRouter();
  6. //$route->addMiddleware(['middleware' => 'App\Middleware\TestMiddleware', "parameters" => ["test" => "lol"]]);
  7. //$route->get("/{test}", "Test", "test", ["permissions" => ["LU_PERMISSION"], "test2" => "lol2_"],
  8. // [['middleware' => 'App\Middleware\Test2Middleware', "parameters" => ["test2" => "lol2"]]]);
  9. $route->get("/routes", "Routes", "getAll");
  10. $route->get("/stops", "Stops", "getAll");