mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
22 lines
557 B
PHP
22 lines
557 B
PHP
<?php
|
|
namespace App\Http\Routes;
|
|
|
|
use Illuminate\Contracts\Routing\Registrar;
|
|
|
|
class ClientRoute
|
|
{
|
|
public function map(Registrar $router)
|
|
{
|
|
$router->group([
|
|
'prefix' => 'client',
|
|
'middleware' => 'client'
|
|
], function ($router) {
|
|
// Client
|
|
$router->get('/subscribe', 'Client\\ClientController@subscribe');
|
|
// App
|
|
$router->get('/app/data', 'Client\\AppController@data');
|
|
$router->get('/app/config', 'Client\\AppController@config');
|
|
});
|
|
}
|
|
}
|