Files
UserOnlineStatus/Xboard/app/Http/Routes/V2/ClientRoute.php
CN-JS-HuiBai 2c6a38c80d first commit
2026-04-07 16:54:24 +08:00

21 lines
532 B
PHP

<?php
namespace App\Http\Routes\V2;
use App\Http\Controllers\V2\Client\AppController;
use Illuminate\Contracts\Routing\Registrar;
class ClientRoute
{
public function map(Registrar $router)
{
$router->group([
'prefix' => 'client',
'middleware' => 'client'
], function ($router) {
// App
$router->get('/app/getConfig', [AppController::class, 'getConfig']);
$router->get('/app/getVersion', [AppController::class, 'getVersion']);
});
}
}