Fix Payment related route mismatch

This commit is contained in:
BrettonYe
2023-01-06 00:46:56 +08:00
parent 0751b40f0a
commit 7e015f6cab
3 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ Route::prefix('admin')->name('admin.')->group(function () {
Route::get('invite', 'AdminController@inviteList')->name('invite.index'); // 邀请码列表
Route::post('invite', 'AdminController@makeInvite')->name('invite.create'); // 生成邀请码
Route::get('Invite/export', 'AdminController@exportInvite')->name('invite.export'); // 导出邀请码
Route::get('epayInfo', 'Gateway\EPay@queryInfo')->name('test.epay'); // 易支付信息
Route::get('epayInfo', '\App\Payments\EPay@queryInfo')->name('test.epay'); // 易支付信息
Route::namespace('Admin')->group(function () {
Route::resource('user', 'UserController')->except('show');

View File

@@ -36,7 +36,7 @@ Route::prefix('payment')->group(function () {
});
Route::prefix('pay')->group(function () {
Route::get('/manual/{payment}', 'Gateway\Manual@redirectPage')->name('manual.checkout'); // 人工支付详细
Route::post('/manual/{payment}/inform', 'Gateway\Manual@inform')->name('manual.inform'); // 人工支付通知
Route::get('/stripe/{session_id}', 'Gateway\Stripe@redirectPage')->name('stripe.checkout'); // Stripe Checkout page
Route::get('/manual/{payment}', '\App\Payments\Manual@redirectPage')->name('manual.checkout'); // 人工支付详细
Route::post('/manual/{payment}/inform', '\App\Payments\Manual@inform')->name('manual.inform'); // 人工支付通知
Route::get('/stripe/{session_id}', '\App\Payments\Stripe@redirectPage')->name('stripe.checkout'); // Stripe Checkout page
});

View File

@@ -8,7 +8,7 @@ if (config('app.key') && config('settings')) {
->match(['get', 'post'], 'callback/notify', 'PaymentController@notify')->name('payment.notify'); //支付回调
}
Route::get('callback/checkout', 'Gateway\PayPal@getCheckout')->name('paypal.checkout'); // 支付回调相关
Route::get('callback/checkout', '\App\Payments\PayPal@getCheckout')->name('paypal.checkout'); // 支付回调相关
Route::post('api/telegram/webhook', 'TelegramController@webhook')->middleware('telegram'); // Telegram fallback
Route::get('api/wechat/verify', '\App\Channels\WeChatChannel@verify')->name('wechat.verify'); // 微信回调验证
Route::get('/message/{type}/{msg_id}/show', 'MessageController@index')->name('message.show'); // 微信回调验证