2020-02-01 20:51:45 +08:00
|
|
|
<?php
|
|
|
|
namespace App\Http\Routes;
|
|
|
|
|
|
|
|
use Illuminate\Contracts\Routing\Registrar;
|
|
|
|
|
|
|
|
class GuestRoute
|
|
|
|
{
|
|
|
|
public function map(Registrar $router)
|
|
|
|
{
|
|
|
|
$router->group([
|
|
|
|
'prefix' => 'guest'
|
|
|
|
], function ($router) {
|
|
|
|
// Plan
|
2020-02-01 21:54:08 +08:00
|
|
|
$router->get ('/plan/fetch', 'Guest\\PlanController@fetch');
|
2020-02-01 20:51:45 +08:00
|
|
|
// Order
|
2020-02-01 20:58:36 +08:00
|
|
|
$router->post('/order/alipayNotify', 'Guest\\OrderController@alipayNotify');
|
|
|
|
$router->post('/order/stripeNotify', 'Guest\\OrderController@stripeNotify');
|
|
|
|
$router->post('/order/bitpayXNotify', 'Guest\\OrderController@bitpayXNotify');
|
2020-07-20 19:56:39 +08:00
|
|
|
$router->post('/order/mgateNotify', 'Guest\\OrderController@mgateNotify');
|
2020-11-16 22:22:23 +08:00
|
|
|
$router->post('/order/epayNotify', 'Guest\\OrderController@epayNotify');
|
2020-05-17 15:23:39 +08:00
|
|
|
// Telegram
|
|
|
|
$router->post('/telegram/webhook', 'Guest\\TelegramController@webhook');
|
2020-02-01 20:51:45 +08:00
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|