|
|
@ -29,6 +29,7 @@ Router::addGroup('/notify',function () {
|
|
|
|
Router::addRoute(['GET', 'POST'], '/bind-card/{token}', [NotifyController::class, 'bindCard']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/bind-card/{token}', [NotifyController::class, 'bindCard']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/payment/{token}', [NotifyController::class, 'payment']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/payment/{token}', [NotifyController::class, 'payment']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/refund/{token}', [NotifyController::class, 'refund']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/refund/{token}', [NotifyController::class, 'refund']);
|
|
|
|
|
|
|
|
Router::addRoute(['POST'], '/test-notify', [NotifyController::class, 'testNotify']);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
Router::addRoute(['GET', 'POST'], '/return/{token}', [ReturnController::class, 'go']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/return/{token}', [ReturnController::class, 'go']);
|
|
|
|