[\App\Middleware\RequestLogMiddleware::class]]); Router::addGroup('/recharge',function () { Router::post('/recharge', [RechargeController::class, 'recharge']); Router::post('/confirm-bind-card', [RechargeController::class, 'confirmBindCard']); Router::post('/confirm-pay', [RechargeController::class, 'confirmPay']); Router::post('/orders', [RechargeController::class, 'orders']); Router::post('/login', [RechargeController::class, 'login']); }); Router::addGroup('/notify',function () { Router::addRoute(['GET', 'POST'], '/payment', [NotifyController::class, 'payment']); Router::addRoute(['GET', 'POST'], '/refund', [NotifyController::class, 'refund']); });