mirror of
https://github.com/v2board/v2board.git
synced 2024-11-15 16:29:11 +08:00
22 lines
613 B
PHP
22 lines
613 B
PHP
<?php
|
|
namespace App\Http\Routes\V1;
|
|
|
|
use Illuminate\Contracts\Routing\Registrar;
|
|
|
|
class GuestRoute
|
|
{
|
|
public function map(Registrar $router)
|
|
{
|
|
$router->group([
|
|
'prefix' => 'guest'
|
|
], function ($router) {
|
|
// Telegram
|
|
$router->post('/telegram/webhook', 'V1\\Guest\\TelegramController@webhook');
|
|
// Payment
|
|
$router->match(['get', 'post'], '/payment/notify/{method}/{uuid}', 'V1\\Guest\\PaymentController@notify');
|
|
// Comm
|
|
$router->get ('/comm/config', 'V1\\Guest\\CommController@config');
|
|
});
|
|
}
|
|
}
|