diff --git a/config/routes.php b/config/routes.php index 6f68777..d8c4f3a 100644 --- a/config/routes.php +++ b/config/routes.php @@ -25,9 +25,9 @@ Router::addGroup('/payment',function () { }, ['middleware' => [\App\Middleware\RequestLogMiddleware::class, \App\Middleware\AppAuthMiddleWare::class]]); Router::addGroup('/notify',function () { - Router::addRoute(['GET', 'POST'], '/register{token}', [NotifyController::class, 'register']); - Router::addRoute(['GET', 'POST'], '/bind-card{token}', [NotifyController::class, 'bindCard']); - Router::addRoute(['GET', 'POST'], '/payment{token}', [NotifyController::class, 'payment']); - Router::addRoute(['GET', 'POST'], '/refund{token}', [NotifyController::class, 'refund']); + Router::addRoute(['GET', 'POST'], '/register/{token}', [NotifyController::class, 'register']); + Router::addRoute(['GET', 'POST'], '/bind-card/{token}', [NotifyController::class, 'bindCard']); + Router::addRoute(['GET', 'POST'], '/payment/{token}', [NotifyController::class, 'payment']); + Router::addRoute(['GET', 'POST'], '/refund/{token}', [NotifyController::class, 'refund']); });