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