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

routes.php 670B

1234567891011121314151617181920
  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");
  11. $route->post("/schedules/multiple", "Schedules", "getMultiple");
  12. $route->post("/users/settings", "UsersSettings", "put");
  13. $route->get("/users/settings", "UsersSettings", "get");