12345678910111213141516171819202122 |
- <?php
-
-
-
- use Luticate\Utils\LuRoute;
-
- $route = LuRoute::getInstance();
-
- $route->addMiddleware('App\Http\Middleware\TokenMiddleware');
-
- $route->post("/commands/exec", "Commands", "exec");
- $route->post("/sensors/value", "Sensors", "getValue");
- $route->post("/cameras/image", "Cameras", "getImage");
|