[\App\Middleware\RequestLogMiddleware::class, \App\Middleware\AppAuthMiddleWare::class]]); Router::addGroup('/account',function () { Router::post('/login', [AccountController::class, 'login']); Router::post('/register', [AccountController::class, 'register']); Router::post('/open-account', [AccountController::class, 'openAccount']); Router::post('/bind-card', [AccountController::class, 'bindCard']); Router::post('/unbind-card', [AccountController::class, 'unBindCard']); Router::post('/set-pay-password', [AccountController::class, 'setPayPassword']); Router::post('/reset-pay-password', [AccountController::class, 'resetPayPassword']); Router::post('/transfer-pay', [AccountController::class, 'transferPay']); Router::post('/user-info', [AccountController::class, 'getUserInfo']); Router::get('/company-register', [AccountController::class, 'companyRegister']); }, []); 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'], '/withdraw/{token}', [NotifyController::class, 'withdraw']); Router::addRoute(['GET', 'POST'], '/transfer-withdraw', [NotifyController::class, 'transferWithdraw']); Router::addRoute(['POST'], '/test-notify', [NotifyController::class, 'testNotify']); Router::addRoute(['GET', 'POST'], '/confirm-assure-portfolio-pay/{token}', [NotifyController::class, 'confirmAssurePortfolioPay']); }); Router::addRoute(['GET', 'POST'], '/return/{token}', [ReturnController::class, 'go']);