mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-24 11:28:13 -05:00
22 lines
590 B
PHP
22 lines
590 B
PHP
|
<?php
|
||
|
namespace App\Http\Routes\V1;
|
||
|
|
||
|
use Illuminate\Contracts\Routing\Registrar;
|
||
|
|
||
|
class ClientRoute
|
||
|
{
|
||
|
public function map(Registrar $router)
|
||
|
{
|
||
|
$router->group([
|
||
|
'prefix' => 'client',
|
||
|
'middleware' => 'client'
|
||
|
], function ($router) {
|
||
|
// Client
|
||
|
$router->get('/subscribe', 'V1\\Client\\ClientController@subscribe');
|
||
|
// App
|
||
|
$router->get('/app/getConfig', 'V1\\Client\\AppController@getConfig');
|
||
|
$router->get('/app/getVersion', 'V1\\Client\\AppController@getVersion');
|
||
|
});
|
||
|
}
|
||
|
}
|