|
|
@ -11,22 +11,23 @@ Router::get('/favicon.ico', function () {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
Router::addGroup('/payment',function () {
|
|
|
|
Router::addGroup('/payment',function () {
|
|
|
|
|
|
|
|
Router::post('/company-register', [PayController::class, 'companyRegister']);
|
|
|
|
Router::post('/register', [PayController::class, 'register']);
|
|
|
|
Router::post('/register', [PayController::class, 'register']);
|
|
|
|
Router::post('/refund', [PayController::class, 'refund']);
|
|
|
|
Router::post('/refund', [PayController::class, 'refund']);
|
|
|
|
Router::post('/bind-card', [PayController::class, 'bindCard']);
|
|
|
|
Router::post('/bind-card', [PayController::class, 'bindCard']);
|
|
|
|
Router::post('/bind-card-confirm', [PayController::class, 'bindCardConfirm']);
|
|
|
|
Router::post('/unbind-card', [PayController::class, 'unbindCard']);
|
|
|
|
Router::post('/un-bind-card', [PayController::class, 'unBindCard']);
|
|
|
|
Router::post('/pwdForget', [PayController::class, 'pwdForget']);
|
|
|
|
Router::post('/protocol-pay-pre-request', [PayController::class, 'protocolPayPreRequest']);
|
|
|
|
Router::post('/pwdModify', [PayController::class, 'pwdModify']);
|
|
|
|
Router::post('/protocol-pay-confirm', [PayController::class, 'protocolPayConfirm']);
|
|
|
|
Router::post('/payment', [PayController::class, 'payment']);
|
|
|
|
Router::post('/refund-query', [PayController::class, 'refundQuery']);
|
|
|
|
Router::post('/refund-apply', [PayController::class, 'refundApply']);
|
|
|
|
Router::post('/payment-query', [PayController::class, 'paymentQuery']);
|
|
|
|
Router::post('/refund-confirm', [PayController::class, 'refundConfirm']);
|
|
|
|
Router::post('/query', [PayController::class, 'query']);
|
|
|
|
Router::post('/refund-cancel', [PayController::class, 'refundCancel']);
|
|
|
|
Router::post('/pay', [PayController::class, 'payment']);
|
|
|
|
|
|
|
|
}, ['middleware' => [\App\Middleware\RequestLogMiddleware::class, \App\Middleware\AppAuthMiddleWare::class]]);
|
|
|
|
}, ['middleware' => [\App\Middleware\RequestLogMiddleware::class, \App\Middleware\AppAuthMiddleWare::class]]);
|
|
|
|
|
|
|
|
|
|
|
|
Router::addGroup('/notify',function () {
|
|
|
|
Router::addGroup('/notify',function () {
|
|
|
|
|
|
|
|
Router::addRoute(['GET', 'POST'], '/register', [NotifyController::class, 'register']);
|
|
|
|
|
|
|
|
Router::addRoute(['GET', 'POST'], '/bind-card', [NotifyController::class, 'bindCard']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/payment', [NotifyController::class, 'payment']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/payment', [NotifyController::class, 'payment']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/refund', [NotifyController::class, 'refund']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/refund', [NotifyController::class, 'refund']);
|
|
|
|
Router::addRoute(['GET', 'POST'], '/refund', [NotifyController::class, 'refund']);
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|