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');
|
|
|
|
$router->post('/order/payTaroNotify', 'Guest\\OrderController@payTaroNotify');
|
2020-02-01 20:51:45 +08:00
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|