2023-11-17 01:44:01 -05:00
|
|
|
<?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
|
2024-11-08 17:34:30 -05:00
|
|
|
$router->get('/subscribe', 'V1\\Client\\ClientController@subscribe')->name('client.subscribe');
|
2023-11-17 01:44:01 -05:00
|
|
|
// App
|
|
|
|
$router->get('/app/getConfig', 'V1\\Client\\AppController@getConfig');
|
|
|
|
$router->get('/app/getVersion', 'V1\\Client\\AppController@getVersion');
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|